https://docs.microsoft.com/en-us/windows/win32/api/winstring/nf-winstring-windowsinspectstring
---
 mingw-w64-headers/include/winstring.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/mingw-w64-headers/include/winstring.h 
b/mingw-w64-headers/include/winstring.h
index 76131d86..d3febc47 100644
--- a/mingw-w64-headers/include/winstring.h
+++ b/mingw-w64-headers/include/winstring.h
@@ -53,7 +53,9 @@ PCWSTR WINAPI WindowsGetStringRawBuffer(HSTRING string, 
UINT32 *length);
 
 typedef HRESULT (WINAPI *PINSPECT_HSTRING_CALLBACK)(void *context, UINT_PTR 
readAddress, UINT32 length, BYTE *buffer);
 
+#if WINAPI_FAMILY_PARTITION (WINAPI_PARTITION_DESKTOP)
 HRESULT WINAPI WindowsInspectString(UINT_PTR targetHString, USHORT machine, 
PINSPECT_HSTRING_CALLBACK callback, void *context, UINT32 *length, UINT_PTR 
*targetStringAddress);
+#endif
 
 BOOL WINAPI WindowsIsStringEmpty(HSTRING string);
 
-- 
2.17.1



_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to