* include/dhcpcsvc.h: New file.
Note that MSDN is confused about whether it should start constant and structure names with DHCPCAPI or DHCPAPI. It's using both but experience suggests it's DHCPCAPI with `C'. * lib/dhcpcsvc.def: New file.
This commit is contained in:
42
winsup/w32api/include/dhcpcsdk.h
Normal file
42
winsup/w32api/include/dhcpcsdk.h
Normal file
@@ -0,0 +1,42 @@
|
||||
#ifndef _DHCPCDSK_H
|
||||
#define _DHCPCDSK_H
|
||||
#if __GNUC__ >= 3
|
||||
#pragma GCC system_header
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#if (_WIN32_WINNT >= 0x0500)
|
||||
#define DHCPCAPI_REGISTER_HANDLE_EVENT 0x00000001
|
||||
#define DHCPCAPI_REQUEST_PERSISTENT 0x00000001
|
||||
#define DHCPCAPI_REQUEST_SYNCHRONOUS 0x00000002
|
||||
typedef struct _DHCPAPI_CLASSID {
|
||||
ULONG Flags;
|
||||
LPBYTE Data;
|
||||
ULONG nBytesData;
|
||||
} DHCPCAPI_CLASSID,*PDHCPCAPI_CLASSID,*LPDHCPCAPI_CLASSID;
|
||||
typedef struct _DHCPAPI_PARAMS {
|
||||
ULONG Flags;
|
||||
ULONG OptionId;
|
||||
BOOL IsVendor;
|
||||
LPBYTE Data;
|
||||
DWORD nBytesData;
|
||||
} DHCPAPI_PARAMS,*PDHCPAPI_PARAMS,*LPDHCPAPI_PARAMS;
|
||||
typedef struct _DHCPAPI_PARAMS_ARRAY {
|
||||
ULONG nParams;
|
||||
LPDHCPAPI_PARAMS Params;
|
||||
} DHCPCAPI_PARAMS_ARRAY,*PDHCPCAPI_PARAMS_ARRAY,*LPDHCPCAPI_PARAMS_ARRAY;
|
||||
VOID WINAPI DhcpCApiCleanup(void);
|
||||
DWORD WINAPI DhcpCApiInitialize(LPDWORD);
|
||||
DWORD WINAPI DhcpDeRegisterParamChange(DWORD,LPVOID,LPVOID);
|
||||
DWORD WINAPI DhcpRegisterParamChange(DWORD,LPVOID,PWSTR,LPDHCPCAPI_CLASSID,DHCPCAPI_PARAMS_ARRAY,LPVOID);
|
||||
DWORD WINAPI DhcpRemoveDNSRegistrations(void);
|
||||
DWORD WINAPI DhcpUndoRequestParams(DWORD,LPVOID,LPWSTR,LPWSTR);
|
||||
#endif /* (_WIN32_WINNT >= 0x0500) */
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
#endif
|
@@ -3197,7 +3197,7 @@ BOOL WINAPI EnableScrollBar(HWND,UINT,UINT);
|
||||
BOOL WINAPI EnableWindow(HWND,BOOL);
|
||||
BOOL WINAPI EndDeferWindowPos(HDWP);
|
||||
BOOL WINAPI EndDialog(HWND,int);
|
||||
BOOL WINAPI EndMenu(VOID);
|
||||
BOOL WINAPI EndMenu(void);
|
||||
BOOL WINAPI EndPaint(HWND,const PAINTSTRUCT*);
|
||||
#if (_WIN32_WINNT >= 0x0500)
|
||||
BOOL WINAPI EndTask(HWND,BOOL,BOOL);
|
||||
@@ -3336,7 +3336,7 @@ BOOL WINAPI GetScrollInfo(HWND,int,LPSCROLLINFO);
|
||||
int WINAPI GetScrollPos(HWND,int);
|
||||
BOOL WINAPI GetScrollRange(HWND,int,LPINT,LPINT);
|
||||
#if (_WIN32_WINNT >= 0x0500)
|
||||
HWND WINAPI GetShellWindow(VOID);
|
||||
HWND WINAPI GetShellWindow(void);
|
||||
#endif
|
||||
HMENU WINAPI GetSubMenu(HMENU,int);
|
||||
DWORD WINAPI GetSysColor(int);
|
||||
@@ -3401,7 +3401,7 @@ BOOL WINAPI GrayStringW(HDC,HBRUSH,GRAYSTRINGPROC,LPARAM,int,int,int,int,int);
|
||||
BOOL WINAPI HideCaret(HWND);
|
||||
BOOL WINAPI HiliteMenuItem(HWND,HMENU,UINT,UINT);
|
||||
BOOL WINAPI InflateRect(LPRECT,int,int);
|
||||
BOOL WINAPI InSendMessage(VOID);
|
||||
BOOL WINAPI InSendMessage(void);
|
||||
#if (_WIN32_WINNT >= 0x0500 || _WIN32_WINDOWS >= 0x0410)
|
||||
DWORD WINAPI InSendMessageEx(LPVOID);
|
||||
#endif
|
||||
@@ -3467,7 +3467,7 @@ int WINAPI LoadStringA(HINSTANCE,UINT,LPSTR,int);
|
||||
int WINAPI LoadStringW(HINSTANCE,UINT,LPWSTR,int);
|
||||
BOOL WINAPI LockWindowUpdate(HWND);
|
||||
#if (_WIN32_WINNT >= 0x0500)
|
||||
BOOL WINAPI LockWorkStation(VOID);
|
||||
BOOL WINAPI LockWorkStation(void);
|
||||
#endif
|
||||
int WINAPI LookupIconIdFromDirectory(PBYTE,BOOL);
|
||||
int WINAPI LookupIconIdFromDirectoryEx(PBYTE,BOOL,int,int,UINT);
|
||||
|
Reference in New Issue
Block a user