Diff

Not logged in

Differences From Artifact [682f5c773e9d0f3b]:

To Artifact [ca4c8f50da03899c]:


8 * * 8 * * 9 * Placed into public domain * 9 * Placed into public domain * 10 \***********************************************************************/ 10 \***********************************************************************/ 11 module win32.dhcpcsdk; 11 module win32.dhcpcsdk; 12 12 13 private import win32.w32api, win32.windef; 13 private import win32.w32api, win32.windef; 14 14 15 static assert (_WIN32_WINNT_ONLY && _WIN32_WINNT >= 0x500, | 15 static assert (_WIN32_WINNT >= 0x500, 16 "win32.dhcpcsdk is available only if version WindowsXP, Windows2003 | 16 "win32.dhcpcsdk is available only if version Windows2000, WindowsXP, Windows2003 17 or WindowsVista is set, or both Windows2000 and WindowsNTonly are set"); | 17 or WindowsVista is set"); 18 18 19 //#if (_WIN32_WINNT >= 0x0500) | 19 //#if (_WIN32_WINNT >= 0x500) 20 20 21 // FIXME: check type 21 // FIXME: check type 22 const DHCPCAPI_REGISTER_HANDLE_EVENT = 1; 22 const DHCPCAPI_REGISTER_HANDLE_EVENT = 1; 23 const DHCPCAPI_REQUEST_PERSISTENT = 1; 23 const DHCPCAPI_REQUEST_PERSISTENT = 1; 24 const DHCPCAPI_REQUEST_SYNCHRONOUS = 2; 24 const DHCPCAPI_REQUEST_SYNCHRONOUS = 2; 25 25 26 struct DHCPCAPI_CLASSID { 26 struct DHCPCAPI_CLASSID { ................................................................................................................................................................................ 51 DWORD DhcpDeRegisterParamChange(DWORD, LPVOID, LPVOID); 51 DWORD DhcpDeRegisterParamChange(DWORD, LPVOID, LPVOID); 52 DWORD DhcpRegisterParamChange(DWORD, LPVOID, PWSTR, LPDHCPCAPI_CLASSID, 52 DWORD DhcpRegisterParamChange(DWORD, LPVOID, PWSTR, LPDHCPCAPI_CLASSID, 53 DHCPCAPI_PARAMS_ARRAY, LPVOID); 53 DHCPCAPI_PARAMS_ARRAY, LPVOID); 54 DWORD DhcpRemoveDNSRegistrations(); 54 DWORD DhcpRemoveDNSRegistrations(); 55 DWORD DhcpUndoRequestParams(DWORD, LPVOID, LPWSTR, LPWSTR); 55 DWORD DhcpUndoRequestParams(DWORD, LPVOID, LPWSTR, LPWSTR); 56 } 56 } 57 57 58 //#endif // (_WIN32_WINNT >= 0x0500) | 58 //#endif // (_WIN32_WINNT >= 0x500)