* Fix netioapi.h inclusion.
* Fix extern "C" placement.
CORE-7685

svn path=/trunk/; revision=62778
This commit is contained in:
Amine Khaldi 2014-04-18 21:32:49 +00:00
parent 4dbdbdbce8
commit bf1641e9b8

View file

@ -1,13 +1,14 @@
#ifndef _IPHLPAPI_H
#define _IPHLPAPI_H
#ifdef __cplusplus
extern "C" {
#endif
#include <iprtrmib.h>
#include <ipexport.h>
#include <iptypes.h>
#include <netioapi.h>
#ifdef __cplusplus
extern "C" {
#endif
DWORD WINAPI AddIPAddress(IPAddr,IPMask,DWORD,PULONG,PULONG);
DWORD WINAPI CreateIpForwardEntry(PMIB_IPFORWARDROW);
DWORD WINAPI CreateIpNetEntry(PMIB_IPNETROW);
@ -58,7 +59,13 @@ DWORD WINAPI SetIpStatistics(PMIB_IPSTATS);
DWORD WINAPI SetIpTTL(UINT);
DWORD WINAPI SetTcpEntry(PMIB_TCPROW);
DWORD WINAPI UnenableRouter(OVERLAPPED*, LPDWORD);
#if (NTDDI_VERSION >= NTDDI_VISTA)
#include <netioapi.h>
#endif
#ifdef __cplusplus
}
#endif
#endif /* _IPHLPAPI_H */