| [21368] | 1 | /* | 
|---|
|  | 2 | * Copyright (C) 2006 Robert Reif | 
|---|
|  | 3 | * | 
|---|
|  | 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. | 
|---|
|  | 8 | * | 
|---|
|  | 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. | 
|---|
|  | 13 | * | 
|---|
|  | 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 | 
|---|
|  | 17 | */ | 
|---|
|  | 18 | #ifndef _LMMSG_ | 
|---|
|  | 19 | #define _LMMSG_ | 
|---|
|  | 20 |  | 
|---|
|  | 21 | #ifdef __cplusplus | 
|---|
|  | 22 | extern "C" { | 
|---|
|  | 23 | #endif | 
|---|
|  | 24 |  | 
|---|
|  | 25 | #define MSGNAME_NOT_FORWARDED   0x00 | 
|---|
|  | 26 | #define MSGNAME_FORWARDED_TO    0x04 | 
|---|
|  | 27 | #define MSGNAME_FORWARDED_FROM  0x10 | 
|---|
|  | 28 |  | 
|---|
|  | 29 | typedef struct _MSG_INFO_0 | 
|---|
|  | 30 | { | 
|---|
|  | 31 | LPWSTR msgi0_name; | 
|---|
|  | 32 | } MSG_INFO_0, *PMSG_INFO_0, *LPMSG_INFO_0; | 
|---|
|  | 33 |  | 
|---|
|  | 34 | typedef struct _MSG_INFO_1 | 
|---|
|  | 35 | { | 
|---|
|  | 36 | LPWSTR msgi1_name; | 
|---|
|  | 37 | DWORD msgi1_forward_flag; | 
|---|
|  | 38 | LPWSTR msgi1_forward; | 
|---|
|  | 39 | } MSG_INFO_1, *PMSG_INFO_1, *LPMSG_INFO_1; | 
|---|
|  | 40 |  | 
|---|
|  | 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*); | 
|---|
|  | 46 |  | 
|---|
|  | 47 | #ifdef __cplusplus | 
|---|
|  | 48 | } | 
|---|
|  | 49 | #endif | 
|---|
|  | 50 |  | 
|---|
|  | 51 | #endif | 
|---|