Annotation of mstools/h/lmmsg.h, revision 1.1.1.1

1.1       root        1: /*++ BUILD Version: 0001    // Increment this if a change has global effects
                      2: 
                      3: Copyright (c) 1991-1993  Microsoft Corporation
                      4: 
                      5: Module Name:
                      6: 
                      7:     lmmsg.h
                      8: 
                      9: Abstract:
                     10: 
                     11:     This file contains structures, function prototypes, and definitions
                     12:     for the NetMessage API.
                     13: 
                     14: Author:
                     15: 
                     16:     Dan Lafferty (danl) 10-Mar-1991
                     17: 
                     18: [Environment:]
                     19: 
                     20:     User Mode - Win32
                     21: 
                     22: [Notes:]
                     23: 
                     24:     You must include NETCONS.H before this file, since this file depends
                     25:     on values defined in NETCONS.H.
                     26: 
                     27: Revision History:
                     28: 
                     29:     10-Mar-1991 danl
                     30:         Created from LM2.0 header files and NT-LAN API Spec.
                     31: 
                     32: --*/
                     33: 
                     34: #ifndef _LMMSG_
                     35: #define _LMMSG_
                     36: 
                     37: #ifdef __cplusplus
                     38: extern "C" {
                     39: #endif
                     40: 
                     41: //
                     42: // Function Prototypes
                     43: //
                     44: 
                     45: NET_API_STATUS NET_API_FUNCTION
                     46: NetMessageNameAdd (
                     47:     IN  LPTSTR  servername,
                     48:     IN  LPTSTR  msgname
                     49:     );
                     50: 
                     51: NET_API_STATUS NET_API_FUNCTION
                     52: NetMessageNameEnum (
                     53:     IN  LPTSTR      servername,
                     54:     IN  DWORD       level,
                     55:     OUT LPBYTE      *bufptr,
                     56:     IN  DWORD       prefmaxlen,
                     57:     OUT LPDWORD     entriesread,
                     58:     OUT LPDWORD     totalentries,
                     59:     IN OUT LPDWORD  resume_handle
                     60:     );
                     61: 
                     62: NET_API_STATUS NET_API_FUNCTION
                     63: NetMessageNameGetInfo (
                     64:     IN  LPTSTR  servername,
                     65:     IN  LPTSTR  msgname,
                     66:     IN  DWORD   level,
                     67:     OUT LPBYTE  *bufptr
                     68:     );
                     69: 
                     70: NET_API_STATUS NET_API_FUNCTION
                     71: NetMessageNameDel (
                     72:     IN  LPTSTR   servername,
                     73:     IN  LPTSTR   msgname
                     74:     );
                     75: 
                     76: NET_API_STATUS NET_API_FUNCTION
                     77: NetMessageBufferSend (
                     78:     IN  LPTSTR  servername,
                     79:     IN  LPTSTR  msgname,
                     80:     IN  LPTSTR  fromname,
                     81:     IN  LPBYTE  buf,
                     82:     IN  DWORD   buflen
                     83:     );
                     84: 
                     85: //
                     86: //  Data Structures
                     87: //
                     88: 
                     89: typedef struct _MSG_INFO_0 {
                     90:     LPTSTR  msgi0_name;
                     91: }MSG_INFO_0, *PMSG_INFO_0, *LPMSG_INFO_0;
                     92: 
                     93: typedef struct _MSG_INFO_1 {
                     94:     LPTSTR  msgi1_name;
                     95:     DWORD   msgi1_forward_flag;
                     96:     LPTSTR  msgi1_forward;
                     97: }MSG_INFO_1, *PMSG_INFO_1, *LPMSG_INFO_1;
                     98: 
                     99: //
                    100: // Special Values and Constants
                    101: //
                    102: 
                    103: //
                    104: // Values for msgi1_forward_flag.
                    105: //
                    106: 
                    107: #define MSGNAME_NOT_FORWARDED   0       // Name not forwarded
                    108: #define MSGNAME_FORWARDED_TO    0x04    // Name forward to remote station
                    109: #define MSGNAME_FORWARDED_FROM  0x10    // Name forwarded from remote station
                    110: 
                    111: #ifdef __cplusplus
                    112: }
                    113: #endif
                    114: 
                    115: #endif //_LMMSG_

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.