ws2_32: Added GetAddrInfoExCancel stub implementation.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Jacek Caban 2017-05-24 21:01:47 +02:00 committed by Alexandre Julliard
parent a1026df403
commit 3cb6d50cd6
3 changed files with 11 additions and 0 deletions

View File

@ -6812,6 +6812,15 @@ int WINAPI GetAddrInfoExW(const WCHAR *name, const WCHAR *servname, DWORD namesp
return WSAHOST_NOT_FOUND;
}
/***********************************************************************
* GetAddrInfoExCancel (WS2_32.@)
*/
int WINAPI GetAddrInfoExCancel(HANDLE *handle)
{
FIXME("(%p)\n", handle);
return WSA_INVALID_HANDLE;
}
/***********************************************************************
* GetAddrInfoW (WS2_32.@)
*/

View File

@ -52,6 +52,7 @@
@ stdcall FreeAddrInfoExW(ptr)
@ stdcall FreeAddrInfoW(ptr)
@ stdcall GetAddrInfoExCancel(ptr)
@ stdcall GetAddrInfoExW(wstr wstr long ptr ptr ptr ptr ptr ptr ptr)
@ stdcall GetAddrInfoW(wstr wstr ptr ptr)
@ stdcall GetNameInfoW(ptr long ptr long ptr long long)

View File

@ -178,6 +178,7 @@ int WINAPI GetAddrInfoExA(const char*,const char*,DWORD,GUID*,const ADDRINFOEXA
int WINAPI GetAddrInfoExW(const WCHAR*,const WCHAR*,DWORD,GUID*, const ADDRINFOEXW*,ADDRINFOEXW**,struct timeval*,
OVERLAPPED*,LPLOOKUPSERVICE_COMPLETION_ROUTINE,HANDLE*);
#define GetAddrInfoEx WINELIB_NAME_AW(GetAddrInfoExW)
int WINAPI GetAddrInfoExCancel(HANDLE*);
int WINAPI WS(getnameinfo)(const SOCKADDR*,WS(socklen_t),PCHAR,DWORD,PCHAR,DWORD,INT);
#define GetNameInfoA WS(getnameinfo)
INT WINAPI GetNameInfoW(const SOCKADDR*,WS(socklen_t),PWCHAR,DWORD,PWCHAR,DWORD,INT);