Author: rharabien
Date: Tue Apr 5 21:14:18 2011
New Revision: 51259
URL:
http://svn.reactos.org/svn/reactos?rev=51259&view=rev
Log:
[PSDK]
Add GetAdaptersAddresses declaration
Add forgotten GetComputerNameEx macro
Modified:
trunk/reactos/include/psdk/iphlpapi.h
trunk/reactos/include/psdk/winbase.h
Modified: trunk/reactos/include/psdk/iphlpapi.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/psdk/iphlpapi.h?re…
==============================================================================
--- trunk/reactos/include/psdk/iphlpapi.h [iso-8859-1] (original)
+++ trunk/reactos/include/psdk/iphlpapi.h [iso-8859-1] Tue Apr 5 21:14:18 2011
@@ -19,6 +19,9 @@
DWORD WINAPI EnableRouter(HANDLE*,OVERLAPPED*);
DWORD WINAPI FlushIpNetTable(DWORD);
DWORD WINAPI GetAdapterIndex(LPWSTR,PULONG);
+#ifdef _WINSOCK2API_
+DWORD WINAPI GetAdaptersAddresses(ULONG,ULONG,PVOID,PIP_ADAPTER_ADDRESSES,PULONG);
+#endif
DWORD WINAPI GetAdaptersInfo(PIP_ADAPTER_INFO,PULONG);
DWORD WINAPI GetBestInterface(IPAddr,PDWORD);
DWORD WINAPI GetBestRoute(DWORD,DWORD,PMIB_IPFORWARDROW);
Modified: trunk/reactos/include/psdk/winbase.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/psdk/winbase.h?rev…
==============================================================================
--- trunk/reactos/include/psdk/winbase.h [iso-8859-1] (original)
+++ trunk/reactos/include/psdk/winbase.h [iso-8859-1] Tue Apr 5 21:14:18 2011
@@ -2416,6 +2416,9 @@
#define GetCommandLine GetCommandLineW
#define GetCompressedFileSize GetCompressedFileSizeW
#define GetComputerName GetComputerNameW
+#if (_WIN32_WINNT >= 0x0500)
+#define GetComputerNameEx GetComputerNameExW
+#endif
#define GetCurrentDirectory GetCurrentDirectoryW
#define GetDefaultCommConfig GetDefaultCommConfigW
#define GetDiskFreeSpace GetDiskFreeSpaceW
@@ -2619,6 +2622,9 @@
#define GetBinaryType GetBinaryTypeA
#define GetCommandLine GetCommandLineA
#define GetComputerName GetComputerNameA
+#if (_WIN32_WINNT >= 0x0500)
+#define GetComputerNameEx GetComputerNameExA
+#endif
#define GetCompressedFileSize GetCompressedFileSizeA
#define GetCurrentDirectory GetCurrentDirectoryA
#define GetDefaultCommConfig GetDefaultCommConfigA