Re: [PATCH v2 0/6] MR6594: include: Add Windows.ApplicationModel.DesignMode runtime class.
On Sat Oct 12 06:40:19 2024 +0000, Zhiyi Zhang wrote:
I don't think this is a bug in Wine. Native headers have both `Windows.Foundation.IReference<BYTE>` and `Windows.Foundation.IReference<boolean>` and no conflicts. It's not clear to me how to fix this properly. I also wonder why Wine doesn't encounter this error.
It seems that MIDL maps `boolean` to `bool`. Please see https://github.com/tpn/winsdk-10/blob/9b69fd26ac0c7d0b83d378dba01080e93349c2... ``` struct __declspec(uuid("3c00fd60-2950-5939-a21a-2d12c5a01b8a")) IReference<bool> : IReference_impl<ABI::Windows::Foundation::Internal::AggregateType<bool, boolean>> { static const wchar_t* z_get_rc_name_impl() { return L"Windows.Foundation.IReference`1<Boolean>"; } }; typedef IReference<bool> __FIReference_1_boolean_t; #define ____FIReference_1_boolean_FWD_DEFINED__ #define __FIReference_1_boolean ABI::Windows::Foundation::__FIReference_1_boolean_t ``` So this might be a bug in WIDL? @jacek @rbernon -- https://gitlab.winehq.org/wine/wine/-/merge_requests/6594#note_85837
participants (1)
-
Zhiyi Zhang (@zhiyi)