equal
deleted
inserted
replaced
|
1 #ifndef _DHCPCDSK_H |
|
2 #define _DHCPCDSK_H |
|
3 #if __GNUC__ >= 3 |
|
4 #pragma GCC system_header |
|
5 #endif |
|
6 |
|
7 #ifdef __cplusplus |
|
8 extern "C" { |
|
9 #endif |
|
10 |
|
11 #if (_WIN32_WINNT >= 0x0500) |
|
12 #define DHCPCAPI_REGISTER_HANDLE_EVENT 0x00000001 |
|
13 #define DHCPCAPI_REQUEST_PERSISTENT 0x00000001 |
|
14 #define DHCPCAPI_REQUEST_SYNCHRONOUS 0x00000002 |
|
15 typedef struct _DHCPAPI_CLASSID { |
|
16 ULONG Flags; |
|
17 LPBYTE Data; |
|
18 ULONG nBytesData; |
|
19 } DHCPCAPI_CLASSID,*PDHCPCAPI_CLASSID,*LPDHCPCAPI_CLASSID; |
|
20 typedef struct _DHCPAPI_PARAMS { |
|
21 ULONG Flags; |
|
22 ULONG OptionId; |
|
23 BOOL IsVendor; |
|
24 LPBYTE Data; |
|
25 DWORD nBytesData; |
|
26 } DHCPAPI_PARAMS,*PDHCPAPI_PARAMS,*LPDHCPAPI_PARAMS; |
|
27 typedef struct _DHCPAPI_PARAMS_ARRAY { |
|
28 ULONG nParams; |
|
29 LPDHCPAPI_PARAMS Params; |
|
30 } DHCPCAPI_PARAMS_ARRAY,*PDHCPCAPI_PARAMS_ARRAY,*LPDHCPCAPI_PARAMS_ARRAY; |
|
31 VOID WINAPI DhcpCApiCleanup(void); |
|
32 DWORD WINAPI DhcpCApiInitialize(LPDWORD); |
|
33 DWORD WINAPI DhcpDeRegisterParamChange(DWORD,LPVOID,LPVOID); |
|
34 DWORD WINAPI DhcpRegisterParamChange(DWORD,LPVOID,PWSTR,LPDHCPCAPI_CLASSID,DHCPCAPI_PARAMS_ARRAY,LPVOID); |
|
35 DWORD WINAPI DhcpRemoveDNSRegistrations(void); |
|
36 DWORD WINAPI DhcpUndoRequestParams(DWORD,LPVOID,LPWSTR,LPWSTR); |
|
37 #endif /* (_WIN32_WINNT >= 0x0500) */ |
|
38 |
|
39 #ifdef __cplusplus |
|
40 } |
|
41 #endif |
|
42 #endif |