ReactOS  0.4.14-dev-854-gb9426a3
dhcpcsdk.h
Go to the documentation of this file.
1 #ifndef _DHCPCDSK_H
2 #define _DHCPCDSK_H
3 
4 #ifdef __cplusplus
5 extern "C" {
6 #endif
7 
8 #if (_WIN32_WINNT >= 0x0500)
9 #define DHCPCAPI_REGISTER_HANDLE_EVENT 0x00000001
10 #define DHCPCAPI_REQUEST_PERSISTENT 0x00000001
11 #define DHCPCAPI_REQUEST_SYNCHRONOUS 0x00000002
12 typedef struct _DHCPAPI_CLASSID {
13  ULONG Flags;
14  LPBYTE Data;
15  ULONG nBytesData;
16 } DHCPCAPI_CLASSID,*PDHCPCAPI_CLASSID,*LPDHCPCAPI_CLASSID;
17 typedef struct _DHCPAPI_PARAMS {
18  ULONG Flags;
19  ULONG OptionId;
20  BOOL IsVendor;
21  LPBYTE Data;
22  DWORD nBytesData;
23 } DHCPAPI_PARAMS,*PDHCPAPI_PARAMS,*LPDHCPAPI_PARAMS;
24 typedef struct _DHCPAPI_PARAMS_ARRAY {
25  ULONG nParams;
26  LPDHCPAPI_PARAMS Params;
27 } DHCPCAPI_PARAMS_ARRAY,*PDHCPCAPI_PARAMS_ARRAY,*LPDHCPCAPI_PARAMS_ARRAY;
30 DWORD WINAPI DhcpDeRegisterParamChange(DWORD,LPVOID,LPVOID);
31 DWORD WINAPI DhcpRegisterParamChange(DWORD,LPVOID,PWSTR,LPDHCPCAPI_CLASSID,DHCPCAPI_PARAMS_ARRAY,LPVOID);
32 DWORD WINAPI DhcpRemoveDNSRegistrations(void);
33 DWORD WINAPI DhcpUndoRequestParams(DWORD,LPVOID,LPWSTR,LPWSTR);
34 #endif /* (_WIN32_WINNT >= 0x0500) */
35 
36 #ifdef __cplusplus
37 }
38 #endif
39 #endif
uint16_t * PWSTR
Definition: typedefs.h:54
_Must_inspect_result_ _In_ ULONG Flags
Definition: wsk.h:170
unsigned char * LPBYTE
Definition: typedefs.h:52
unsigned int BOOL
Definition: ntddk_ex.h:94
_In_ LPGUID _In_ PVOID Data
Definition: classpnp.h:778
#define WINAPI
Definition: msvc.h:6
unsigned long DWORD
Definition: ntddk_ex.h:95
DWORD APIENTRY DhcpCApiInitialize(LPDWORD Version)
Definition: dhcpcsvc.c:24
uint32_t * LPDWORD
Definition: typedefs.h:57
unsigned int ULONG
Definition: retypes.h:1
WCHAR * LPWSTR
Definition: xmlstorage.h:184
VOID APIENTRY DhcpCApiCleanup(VOID)
Definition: dhcpcsvc.c:69