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)