Diff

Not logged in

Differences From Artifact [682f5c773e9d0f3b]:

To Artifact [ca4c8f50da03899c]:


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