[PATCH 2/7] include: Add RtlIpv4AddressToString(Ex)[AW]

Alex Henrie alexhenrie24 at gmail.com
Mon May 25 23:36:19 CDT 2020


Signed-off-by: Alex Henrie <alexhenrie24 at gmail.com>
---
 include/ip2string.h | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/include/ip2string.h b/include/ip2string.h
index 0753ee82a9..4c5f36c15f 100644
--- a/include/ip2string.h
+++ b/include/ip2string.h
@@ -23,6 +23,13 @@
 extern "C" {
 #endif
 
+char * WINAPI RtlIpv4AddressToStringA(const IN_ADDR *address, char *str);
+WCHAR * WINAPI RtlIpv4AddressToStringW(const IN_ADDR *address, WCHAR *str);
+#define RtlIpv4AddressToString WINELIB_NAME_AW(RtlIpv4AddressToString)
+NTSTATUS WINAPI RtlIpv4AddressToStringExA(const IN_ADDR *address, USHORT port, char *str, ULONG *size);
+NTSTATUS WINAPI RtlIpv4AddressToStringExW(const IN_ADDR *address, USHORT port, WCHAR *str, ULONG *size);
+#define RtlIpv4AddressToStringEx WINELIB_NAME_AW(RtlIpv4AddressToStringEx)
+
 NTSTATUS WINAPI RtlIpv4StringToAddressA(const char *str, BOOLEAN strict, const char **terminator, IN_ADDR *address);
 NTSTATUS WINAPI RtlIpv4StringToAddressW(const WCHAR *str, BOOLEAN strict, const WCHAR **terminator, IN_ADDR *address);
 #define RtlIpv4StringToAddress WINELIB_NAME_AW(RtlIpv4StringToAddress)
-- 
2.26.2




More information about the wine-devel mailing list