Piotr Caban (@piotr) commented about dlls/vccorlib140/vccorlib.c:
const struct __abi_type_descriptor *desc; LONG ref;
};
-static inline struct platform_type *impl_from_IClosable(IClosable *iface) +static inline struct platform_type *impl_from_IInspectable(IInspectable *iface) {
- return CONTAINING_RECORD(iface, struct platform_type, IClosable_iface);
- return CONTAINING_RECORD(iface, struct platform_type, IInspectable_iface);
}
-static HRESULT WINAPI platform_type_QueryInterface(IClosable *iface, const GUID *iid, void **out) +HRESULT WINAPI platform_type_QueryInterface(IInspectable *iface, const GUID *iid, void **out) {
- struct platform_type *impl = impl_from_IClosable(iface);
- struct platform_type *impl = impl_from_IInspectable(iface);
Please fix `IID_IClosable` case in `QueryInterface` implementation.