Initial bulk commit for "Git on MSys"
[msysgit/historical-msysgit.git] / mingw / include / lmmsg.h
blob9a4ea643471fdb9ce4aa6ad1096d40909cecc8ac
1 #ifndef _LMMSG_H
2 #define _LMMSG_H
3 #if __GNUC__ >=3
4 #pragma GCC system_header
5 #endif
7 #ifdef __cplusplus
8 extern "C" {
9 #endif
10 #define MSGNAME_NOT_FORWARDED 0
11 #define MSGNAME_FORWARDED_TO 4
12 #define MSGNAME_FORWARDED_FROM 16
13 typedef struct _MSG_INFO_0 { LPWSTR msgi0_name; }MSG_INFO_0,*PMSG_INFO_0,*LPMSG_INFO_0;
14 typedef struct _MSG_INFO_1 {
15 LPWSTR msgi1_name;
16 DWORD msgi1_forward_flag;
17 LPWSTR msgi1_forward;
18 }MSG_INFO_1,*PMSG_INFO_1,*LPMSG_INFO_1;
19 NET_API_STATUS WINAPI NetMessageBufferSend(LPCWSTR,LPCWSTR,LPCWSTR,PBYTE,DWORD);
20 NET_API_STATUS WINAPI NetMessageNameAdd(LPCWSTR,LPCWSTR);
21 NET_API_STATUS WINAPI NetMessageNameDel(LPCWSTR,LPCWSTR);
22 NET_API_STATUS WINAPI NetMessageNameEnum(LPCWSTR,DWORD,PBYTE*,DWORD,PDWORD,PDWORD,PDWORD);
23 NET_API_STATUS WINAPI NetMessageNameGetInfo(LPCWSTR,LPCWSTR,DWORD,PBYTE*);
24 #ifdef __cplusplus
26 #endif
27 #endif