在 2021-01-12 01:37, Biswapriyo Nath 写道:
Hmmm why aren't those IDLs imported from Wine?

1. Huge confusion. IExtractIcon is in -- shlobj_core.h in WinSDK,
shlobjidl.idl in wine, shlobj.h in mingw-w64.
2. Files differ largely between mingw-w64 and wine.



This thing was added in WinSDK 8.1 and belonged in 'shlobj.h' there, where 'shlobj_core.h' didn't exist. 'shlobjidl.idl' on the other hand never exists in any version of WinSDK.

The current definitions should match WinSDK. However compiling the WinSDK header with MSVC gives the same result (IUnknown functions are missing from the vtable) so really it's a bug.

These patches just fix this issue for `IExtractIcon{A,W}` by replacing the definitions. I really hope we can fix `DECLARE_INTERFACE_IID_()` or import them from Wine as permanent solutions.



--
Best regards,
LH_Mouse

Attachment: OpenPGP_signature
Description: OpenPGP digital signature

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

Reply via email to