There is a `__wia_h__` macro check in wiadef.h. The new wia.h does not have that macro. I am not sure if the check should be removed in wiadef.h or be changed something else. Please feel free to change it as you like. Test case https://github.com/msys2/MINGW-packages/issues/17451
From 02bd0321d83880e4d82e2a92cf6b428c7c6d81de Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath <nathbap...@gmail.com> Date: Fri, 14 Feb 2025 06:03:49 +0000 Subject: [PATCH] headers: Import wia.h from wine
Required for https://github.com/msys2/MINGW-packages/issues/17451 Signed-off-by: Biswapriyo Nath <nathbap...@gmail.com> --- mingw-w64-headers/Makefile.am | 2 ++ mingw-w64-headers/wine-import.sh | 3 +++ 2 files changed, 5 insertions(+) diff --git a/mingw-w64-headers/Makefile.am b/mingw-w64-headers/Makefile.am index 77fa72e..3a494af 100644 --- a/mingw-w64-headers/Makefile.am +++ b/mingw-w64-headers/Makefile.am @@ -266,6 +266,8 @@ IDL_SRCS = \ include/rtworkq.idl \ include/vmr9.idl \ include/weakreference.idl \ + include/wia_lh.idl \ + include/wia_xp.idl \ include/wincodec.idl \ include/wincodecsdk.idl \ include/wmcontainer.idl \ diff --git a/mingw-w64-headers/wine-import.sh b/mingw-w64-headers/wine-import.sh index 10dc7c6..e66e3de 100755 --- a/mingw-w64-headers/wine-import.sh +++ b/mingw-w64-headers/wine-import.sh @@ -121,6 +121,7 @@ for f in \ uiautomation.h \ vfwmsgs.h \ webservices.h \ + wia.h \ winhttp.h \ winineti.h \ wmpids.h \ @@ -220,6 +221,8 @@ for f in \ urlhist \ vmr9 \ weakreference \ + wia_lh \ + wia_xp \ wincodec \ wincodecsdk \ windowscontracts \ -- 2.48.1
_______________________________________________ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public