Add getnameinfoA/W
Modified: trunk/reactos/w32api/include/ws2tcpip.h
_____
Modified: trunk/reactos/w32api/include/ws2tcpip.h
--- trunk/reactos/w32api/include/ws2tcpip.h 2005-06-07 21:23:30 UTC
(rev 15837)
+++ trunk/reactos/w32api/include/ws2tcpip.h 2005-06-07 22:04:54 UTC
(rev 15838)
@@ -306,8 +306,15 @@
#define gai_strerror gai_strerrorA
#endif /* UNICODE */
-int WSAAPI getnameinfo(const struct sockaddr*,socklen_t,char*,DWORD,
- char*,DWORD,int);
+int WSAAPI getnameinfoA(const struct sockaddr*,socklen_t,char*,DWORD,
+ char*,DWORD,int);
+int WSAAPI getnameinfoW(const struct sockaddr*,socklen_t,WCHAR*,DWORD,
+ WCHAR*,DWORD,int);
+#ifdef UNICODE
+#define getnameinfo getnameinfoW
+#else
+#define getnameinfo getnameinfoA
+#endif /* UNICODE */
/* Some older IPv4/IPv6 compatability stuff */