From cbfa90c39070d1d757a44cc7bf1d25ed4fd713e6 Mon Sep 17 00:00:00 2001 From: Jacek Caban Date: Mon, 31 Jul 2017 18:04:21 +0200 Subject: [PATCH] ws2_32: Added GetAddrInfoExOverlappedResult stub implementation. Signed-off-by: Jacek Caban Signed-off-by: Alexandre Julliard --- dlls/ws2_32/socket.c | 9 +++++++++ dlls/ws2_32/ws2_32.spec | 1 + include/ws2tcpip.h | 1 + 3 files changed, 11 insertions(+) diff --git a/dlls/ws2_32/socket.c b/dlls/ws2_32/socket.c index 3f4691f02b..620b19b7b5 100644 --- a/dlls/ws2_32/socket.c +++ b/dlls/ws2_32/socket.c @@ -6835,6 +6835,15 @@ int WINAPI GetAddrInfoExW(const WCHAR *name, const WCHAR *servname, DWORD namesp return WSAHOST_NOT_FOUND; } +/*********************************************************************** + * GetAddrInfoExOverlappedResult (WS2_32.@) + */ +int WINAPI GetAddrInfoExOverlappedResult(OVERLAPPED *overlapped) +{ + FIXME("(%p)\n", overlapped); + return SOCKET_ERROR; +} + /*********************************************************************** * GetAddrInfoExCancel (WS2_32.@) */ diff --git a/dlls/ws2_32/ws2_32.spec b/dlls/ws2_32/ws2_32.spec index db34fc186d..ae3eaf0c90 100644 --- a/dlls/ws2_32/ws2_32.spec +++ b/dlls/ws2_32/ws2_32.spec @@ -53,6 +53,7 @@ @ stdcall FreeAddrInfoExW(ptr) @ stdcall FreeAddrInfoW(ptr) @ stdcall GetAddrInfoExCancel(ptr) +@ stdcall GetAddrInfoExOverlappedResult(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) diff --git a/include/ws2tcpip.h b/include/ws2tcpip.h index 337383bbf5..2d509be1f0 100644 --- a/include/ws2tcpip.h +++ b/include/ws2tcpip.h @@ -182,6 +182,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 GetAddrInfoExOverlappedResult(OVERLAPPED*); int WINAPI GetAddrInfoExCancel(HANDLE*); int WINAPI WS(getnameinfo)(const SOCKADDR*,WS(socklen_t),PCHAR,DWORD,PCHAR,DWORD,INT); #define GetNameInfoA WS(getnameinfo)