| 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 _LMCONFIG_ |
| 7 |
#define _LMCONFIG_ |
| 8 |
|
| 9 |
#ifdef __cplusplus |
| 10 |
extern "C" { |
| 11 |
#endif |
| 12 |
|
| 13 |
#define REVISED_CONFIG_APIS |
| 14 |
|
| 15 |
NET_API_STATUS WINAPI NetConfigGet(LPCWSTR server,LPCWSTR component,LPCWSTR parameter,LPBYTE *bufptr); |
| 16 |
NET_API_STATUS WINAPI NetConfigGetAll(LPCWSTR server,LPCWSTR component,LPBYTE *bufptr); |
| 17 |
NET_API_STATUS WINAPI NetConfigSet(LPCWSTR server,LPCWSTR reserved1,LPCWSTR component,DWORD level,DWORD reserved2,LPBYTE buf,DWORD reserved3); |
| 18 |
NET_API_STATUS WINAPI NetRegisterDomainNameChangeNotification(PHANDLE NotificationEventHandle); |
| 19 |
NET_API_STATUS WINAPI NetUnregisterDomainNameChangeNotification(HANDLE NotificationEventHandle); |
| 20 |
|
| 21 |
typedef struct _CONFIG_INFO_0 { |
| 22 |
LPWSTR cfgi0_key; |
| 23 |
LPWSTR cfgi0_data; |
| 24 |
} CONFIG_INFO_0,*PCONFIG_INFO_0,*LPCONFIG_INFO_0; |
| 25 |
|
| 26 |
#ifdef __cplusplus |
| 27 |
} |
| 28 |
#endif |
| 29 |
#endif |