Home | History | Annotate | Download | only in include
      1 /**
      2  * This file has no copyright assigned and is placed in the Public Domain.
      3  * This file is part of the mingw-w64 runtime package.
      4  * No warranty is given; refer to the file DISCLAIMER.PD within this package.
      5  */
      6 #ifndef _LMMSG_
      7 #define _LMMSG_
      8 
      9 #ifdef __cplusplus
     10 extern "C" {
     11 #endif
     12 
     13   NET_API_STATUS WINAPI NetMessageNameAdd(LPCWSTR servername,LPCWSTR msgname);
     14   NET_API_STATUS WINAPI NetMessageNameEnum(LPCWSTR servername,DWORD level,LPBYTE *bufptr,DWORD prefmaxlen,LPDWORD entriesread,LPDWORD totalentries,LPDWORD resume_handle);
     15   NET_API_STATUS WINAPI NetMessageNameGetInfo(LPCWSTR servername,LPCWSTR msgname,DWORD level,LPBYTE *bufptr);
     16   NET_API_STATUS WINAPI NetMessageNameDel(LPCWSTR servername,LPCWSTR msgname);
     17   NET_API_STATUS WINAPI NetMessageBufferSend(LPCWSTR servername,LPCWSTR msgname,LPCWSTR fromname,LPBYTE buf,DWORD buflen);
     18 
     19   typedef struct _MSG_INFO_0 {
     20     LPWSTR msgi0_name;
     21   } MSG_INFO_0,*PMSG_INFO_0,*LPMSG_INFO_0;
     22 
     23   typedef struct _MSG_INFO_1 {
     24     LPWSTR msgi1_name;
     25     DWORD msgi1_forward_flag;
     26     LPWSTR msgi1_forward;
     27   } MSG_INFO_1,*PMSG_INFO_1,*LPMSG_INFO_1;
     28 
     29 #define MSGNAME_NOT_FORWARDED 0
     30 #define MSGNAME_FORWARDED_TO 0x04
     31 #define MSGNAME_FORWARDED_FROM 0x10
     32 
     33 #ifdef __cplusplus
     34 }
     35 #endif
     36 #endif
     37