Author: akhaldi
Date: Sun Feb 22 15:37:44 2015
New Revision: 66406
URL:
http://svn.reactos.org/svn/reactos?rev=66406&view=rev
Log:
[WS2_32] Stub and export GetNameInfoW. CORE-9249
Modified:
trunk/reactos/dll/win32/ws2_32/misc/stubs.c
trunk/reactos/dll/win32/ws2_32/ws2_32.spec
Modified: trunk/reactos/dll/win32/ws2_32/misc/stubs.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/ws2_32/misc/stub…
==============================================================================
--- trunk/reactos/dll/win32/ws2_32/misc/stubs.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/ws2_32/misc/stubs.c [iso-8859-1] Sun Feb 22 15:37:44 2015
@@ -946,5 +946,23 @@
return EAI_FAIL;
}
+/*
+ * @unimplemented
+ */
+INT
+EXPORT
+GetNameInfoW(IN CONST SOCKADDR *pSockaddr,
+ IN socklen_t SockaddrLength,
+ OUT PWCHAR pNodeBuffer,
+ IN DWORD NodeBufferSize,
+ OUT PWCHAR pServiceBuffer,
+ IN DWORD ServiceBufferSize,
+ IN INT Flags)
+{
+ UNIMPLEMENTED
+
+ WSASetLastError(EAI_FAIL);
+ return EAI_FAIL;
+}
/* EOF */
Modified: trunk/reactos/dll/win32/ws2_32/ws2_32.spec
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/ws2_32/ws2_32.sp…
==============================================================================
--- trunk/reactos/dll/win32/ws2_32/ws2_32.spec [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/ws2_32/ws2_32.spec [iso-8859-1] Sun Feb 22 15:37:44 2015
@@ -117,3 +117,4 @@
@ stdcall freeaddrinfo(ptr)
@ stdcall getaddrinfo(str str ptr ptr)
@ stdcall getnameinfo(ptr long ptr long ptr long long)
+@ stdcall GetNameInfoW(ptr long wstr long wstr long long)