Add GetAddrInfoExW

This commit is contained in:
gingerBill
2022-05-12 14:27:46 +01:00
parent 0c45a46aab
commit 6c14586fff
2 changed files with 40 additions and 0 deletions
+13
View File
@@ -87,6 +87,19 @@ foreign ws2_32 {
res: ^^ADDRINFOA,
) -> c_int ---
freeaddrinfo :: proc(res: ^ADDRINFOA) ---
FreeAddrInfoExW :: proc(pAddrInfoEx: PADDRINFOEXW) ---
GetAddrInfoExW :: proc(
pName: PCWSTR,
pServiceName: PCWSTR,
dwNameSpace: DWORD,
lpNspId: LPGUID,
hints: ^ADDRINFOEXW,
ppResult: ^PADDRINFOEXW,
timeout: ^timeval,
lpOverlapped: LPOVERLAPPED,
lpCompletionRoutine: LPLOOKUPSERVICE_COMPLETION_ROUTINE,
lpHandle: LPHANDLE) -> INT ---
select :: proc(
nfds: c_int,
readfds: ^fd_set,