Release 1.2-rc6.
[wine/gsoc-2012-control.git] / include / lmmsg.h
bloba6b395b1b0ed645514a4ebf83ab6fbfb08bd26f1
1 /*
2 * Copyright (C) 2006 Robert Reif
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
18 #ifndef _LMMSG_
19 #define _LMMSG_
21 #ifdef __cplusplus
22 extern "C" {
23 #endif
25 #define MSGNAME_NOT_FORWARDED 0x00
26 #define MSGNAME_FORWARDED_TO 0x04
27 #define MSGNAME_FORWARDED_FROM 0x10
29 typedef struct _MSG_INFO_0
31 LPWSTR msgi0_name;
32 } MSG_INFO_0, *PMSG_INFO_0, *LPMSG_INFO_0;
34 typedef struct _MSG_INFO_1
36 LPWSTR msgi1_name;
37 DWORD msgi1_forward_flag;
38 LPWSTR msgi1_forward;
39 } MSG_INFO_1, *PMSG_INFO_1, *LPMSG_INFO_1;
41 NET_API_STATUS NET_API_FUNCTION NetMessageBufferSend(LPCWSTR,LPCWSTR,LPCWSTR,LPBYTE,DWORD);
42 NET_API_STATUS NET_API_FUNCTION NetMessageNameAdd(LPCWSTR,LPCWSTR);
43 NET_API_STATUS NET_API_FUNCTION NetMessageNameDel(LPCWSTR,LPCWSTR);
44 NET_API_STATUS NET_API_FUNCTION NetMessageNameEnum(LPCWSTR,DWORD,LPBYTE*,DWORD,LPDWORD,LPDWORD,LPDWORD);
45 NET_API_STATUS NET_API_FUNCTION NetMessageNameGetInfo(LPCWSTR,LPCWSTR,DWORD,PBYTE*);
47 #ifdef __cplusplus
49 #endif
51 #endif