Jacek Caban : ws2_32: Added GetAddrInfoExW stub.
Alexandre Julliard
julliard at wine.codeweavers.com
Thu Oct 29 09:32:11 CDT 2015
Module: wine
Branch: master
Commit: 9d452e2ccdebd8dfd579eeeb2603879315e60ae5
URL: http://source.winehq.org/git/wine.git/?a=commit;h=9d452e2ccdebd8dfd579eeeb2603879315e60ae5
Author: Jacek Caban <jacek at codeweavers.com>
Date: Wed Oct 28 16:51:51 2015 +0100
ws2_32: Added GetAddrInfoExW stub.
Signed-off-by: Jacek Caban <jacek at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/ws2_32/socket.c | 12 ++++++++++++
dlls/ws2_32/ws2_32.spec | 1 +
2 files changed, 13 insertions(+)
diff --git a/dlls/ws2_32/socket.c b/dlls/ws2_32/socket.c
index 1cad112..9e8510d 100644
--- a/dlls/ws2_32/socket.c
+++ b/dlls/ws2_32/socket.c
@@ -6542,6 +6542,18 @@ static struct WS_addrinfo *addrinfo_WtoA(const struct WS_addrinfoW *ai)
}
/***********************************************************************
+ * GetAddrInfoExW (WS2_32.@)
+ */
+int WINAPI GetAddrInfoExW(const WCHAR *name, const WCHAR *servname, DWORD namespace, GUID *namespace_id,
+ const ADDRINFOEXW *hints, ADDRINFOEXW **result, struct timeval *timeout, OVERLAPPED *overlapped,
+ LPLOOKUPSERVICE_COMPLETION_ROUTINE completion_routine, HANDLE *handle)
+{
+ FIXME("(%s %s %x %s %p %p %p %p %p %p)\n", debugstr_w(name), debugstr_w(servname), namespace,
+ debugstr_guid(namespace_id), hints, result, timeout, overlapped, completion_routine, handle);
+ return WSAHOST_NOT_FOUND;
+}
+
+/***********************************************************************
* GetAddrInfoW (WS2_32.@)
*/
int WINAPI GetAddrInfoW(LPCWSTR nodename, LPCWSTR servname, const ADDRINFOW *hints, PADDRINFOW *res)
diff --git a/dlls/ws2_32/ws2_32.spec b/dlls/ws2_32/ws2_32.spec
index 1b096b5..6de888f 100644
--- a/dlls/ws2_32/ws2_32.spec
+++ b/dlls/ws2_32/ws2_32.spec
@@ -51,6 +51,7 @@
500 stub WEP
@ stdcall FreeAddrInfoW(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)
@ stdcall InetPtonW(long wstr ptr)
More information about the wine-cvs
mailing list