From bd6fba2037ddf1c70fb357a05d8b7a3c4ff7b374 Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Sun, 20 Sep 2009 22:20:16 +0000 Subject: [PATCH] - Stub and export GetAddrInfoW svn path=/trunk/; revision=43100 --- reactos/dll/win32/ws2_32/misc/stubs.c | 18 +++++++++++++++++- reactos/dll/win32/ws2_32/ws2_32.spec | 2 +- 2 files changed, 18 insertions(+), 2 deletions(-) diff --git a/reactos/dll/win32/ws2_32/misc/stubs.c b/reactos/dll/win32/ws2_32/misc/stubs.c index 60880e345b8..a5fe5a3d510 100644 --- a/reactos/dll/win32/ws2_32/misc/stubs.c +++ b/reactos/dll/win32/ws2_32/misc/stubs.c @@ -11,7 +11,6 @@ #include #include - /* * @implemented */ @@ -936,4 +935,21 @@ BOOL EXPORT WSApSetPostRoutine(PVOID Routine) return FALSE; } +/* + * @unimplemented + */ +INT +EXPORT +GetAddrInfoW(IN PCWSTR pszNodeName, + IN PCWSTR pszServiceName, + IN const ADDRINFOW *ptHints, + OUT PADDRINFOW *pptResult) +{ + UNIMPLEMENTED + + WSASetLastError(EAI_FAIL); + return EAI_FAIL; +} + + /* EOF */ diff --git a/reactos/dll/win32/ws2_32/ws2_32.spec b/reactos/dll/win32/ws2_32/ws2_32.spec index afd1065719c..f36ddcafd46 100644 --- a/reactos/dll/win32/ws2_32/ws2_32.spec +++ b/reactos/dll/win32/ws2_32/ws2_32.spec @@ -50,7 +50,7 @@ 500 stub WEP -# @ stdcall GetAddrInfoW(wstr wstr ptr ptr) +@ stdcall GetAddrInfoW(wstr wstr ptr ptr) @ stdcall WSApSetPostRoutine(ptr) @ stdcall WPUCompleteOverlappedRequest(long ptr long long ptr) @ stdcall WSAAccept(long ptr ptr ptr long)