From: <kti...@us...> - 2013-01-31 12:09:34
|
Revision: 5574 http://mingw-w64.svn.sourceforge.net/mingw-w64/?rev=5574&view=rev Author: ktietz70 Date: 2013-01-31 12:09:26 +0000 (Thu, 31 Jan 2013) Log Message: ----------- Fix prototypes of RtlIpv6AddressToStringA, and RtlIpv6AddressToStringW. Modified Paths: -------------- trunk/mingw-w64-headers/include/mstcpip.h Modified: trunk/mingw-w64-headers/include/mstcpip.h =================================================================== --- trunk/mingw-w64-headers/include/mstcpip.h 2013-01-31 10:54:06 UTC (rev 5573) +++ trunk/mingw-w64-headers/include/mstcpip.h 2013-01-31 12:09:26 UTC (rev 5574) @@ -92,88 +92,28 @@ #define RtlIpv6AddressToString __MINGW_NAME_AW(RtlIpv6AddressToString) #define RtlIpv6AddressToStringEx __MINGW_NAME_AW(RtlIpv6AddressToStringEx) -LPWSTR NTAPI RtlIpv6AddressToStringA( - const IN6_ADDR *Addr, - LPSTR S -); +LPSTR NTAPI RtlIpv6AddressToStringA(const IN6_ADDR *Addr, LPSTR S); +LPWSTR NTAPI RtlIpv6AddressToStringW(const IN6_ADDR *Addr, LPWSTR S); -LPSTR NTAPI RtlIpv6AddressToStringW( - const IN6_ADDR *Addr, - LPWSTR S -); +LONG NTAPI RtlIpv6AddressToStringExA(const IN6_ADDR *Address, ULONG ScopeId, USHORT Port, LPSTR AddressString, PULONG AddressStringLength); +LONG NTAPI RtlIpv6AddressToStringExW(const IN6_ADDR *Address, ULONG ScopeId, USHORT Port, LPWSTR AddressString, PULONG AddressStringLength); -LONG NTAPI RtlIpv6AddressToStringExA( - const IN6_ADDR *Address, - ULONG ScopeId, - USHORT Port, - LPSTR AddressString, - PULONG AddressStringLength -); - -LONG NTAPI RtlIpv6AddressToStringExW( - const IN6_ADDR *Address, - ULONG ScopeId, - USHORT Port, - LPWSTR AddressString, - PULONG AddressStringLength -); - #define RtlIpv4AddressToString __MINGW_NAME_AW(RtlIpv4AddressToString) -LPTSTR NTAPI RtlIpv4AddressToStringA( - const IN_ADDR *Addr, - LPSTR S -); +LPSTR NTAPI RtlIpv4AddressToStringA(const IN_ADDR *Addr, LPSTR S); +LPWSTR NTAPI RtlIpv4AddressToStringW(const IN_ADDR *Addr, LPWSTR S); -LPTSTR NTAPI RtlIpv4AddressToStringW( - const IN_ADDR *Addr, - LPWSTR S -); - #define RtlIpv4AddressToStringEx __MINGW_NAME_AW(RtlIpv4AddressToStringEx) -LONG NTAPI RtlIpv4AddressToStringExA( - const IN_ADDR *Address, - USHORT Port, - LPSTR AddressString, - PULONG AddressStringLength -); +LONG NTAPI RtlIpv4AddressToStringExA(const IN_ADDR *Address, USHORT Port, LPSTR AddressString, PULONG AddressStringLength); +LONG NTAPI RtlIpv4AddressToStringExW(const IN_ADDR *Address, USHORT Port, LPWSTR AddressString, PULONG AddressStringLength); -LONG NTAPI RtlIpv4AddressToStringExW( - const IN_ADDR *Address, - USHORT Port, - LPWSTR AddressString, - PULONG AddressStringLength -); - #define RtlIpv4StringToAddress __MINGW_NAME_AW(RtlIpv4StringToAddress) -LONG NTAPI RtlIpv4StringToAddressA( - PCSTR S, - BOOLEAN Strict, - LPSTR *Terminator, - IN_ADDR *Addr -); +LONG NTAPI RtlIpv4StringToAddressA(PCSTR S, BOOLEAN Strict, LPSTR *Terminator, IN_ADDR *Addr); +LONG NTAPI RtlIpv4StringToAddressW(PCWSTR S, BOOLEAN Strict, LPWSTR *Terminator, IN_ADDR *Addr); -LONG NTAPI RtlIpv4StringToAddressW( - PCWSTR S, - BOOLEAN Strict, - LPWSTR *Terminator, - IN_ADDR *Addr -); - #define RtlIpv4StringToAddressEx __MINGW_NAME_AW(RtlIpv4StringToAddressEx) -LONG NTAPI RtlIpv4StringToAddressExA( - PCSTR AddressString, - BOOLEAN Strict, - IN_ADDR *Address, - PUSHORT Port -); +LONG NTAPI RtlIpv4StringToAddressExA(PCSTR AddressString, BOOLEAN Strict, IN_ADDR *Address, PUSHORT Port); +LONG NTAPI RtlIpv4StringToAddressExW(PCWSTR AddressString, BOOLEAN Strict, IN_ADDR *Address, PUSHORT Port); -LONG NTAPI RtlIpv4StringToAddressExW( - PCWSTR AddressString, - BOOLEAN Strict, - IN_ADDR *Address, - PUSHORT Port -); - #define RtlIpv6StringToAddressEx __MINGW_NAME_AW(RtlIpv6StringToAddressEx) LONG NTAPI RtlIpv6StringToAddressExA(PCSTR AddressString, IN6_ADDR *Address, PULONG ScopeId, PUSHORT Port); LONG NTAPI RtlIpv6StringToAddressExW(PCWSTR AddressString, IN6_ADDR *Address, PULONG ScopeId, PUSHORT Port); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |