From 18daf628d5ebe13bbe0567644b8d1ed41b981386 Mon Sep 17 00:00:00 2001 From: Alex Henrie Date: Mon, 17 Jul 2023 22:56:55 -0600 Subject: [PATCH] include: Add WS_STRING_VALUE and WS_XML_STRING_VALUE. --- include/webservices.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/webservices.h b/include/webservices.h index 542670967c0..7784ee31df0 100644 --- a/include/webservices.h +++ b/include/webservices.h @@ -1879,6 +1879,9 @@ HRESULT WINAPI WsXmlStringEquals(const WS_XML_STRING*, const WS_XML_STRING*, WS_ #define WS_E_SECURITY_TOKEN_EXPIRED 0x803d0022 #define WS_E_SECURITY_SYSTEM_FAILURE 0x803d0023 +#define WS_STRING_VALUE(s) { sizeof(s) / sizeof((s)[0]) - 1, (WCHAR *)(s) } +#define WS_XML_STRING_VALUE(s) { sizeof(s) - 1, (BYTE *)(s) } + #ifdef __cplusplus } #endif /* __cplusplus */