16 May
2025
16 May
'25
5:44 p.m.
Alfred Agrell (@Alcaro) commented about dlls/shell32/shellord.c:
+ LONG Ref; +} IDummySource; + +static inline IDummySource *impl_from_IDropSource(IDropSource *iface) +{ + return CONTAINING_RECORD(iface, IDummySource, IDropSource_iface); +} + +static HRESULT WINAPI IDummyDropSource_QueryInterface(IDropSource *iface, REFIID riid, void **ppvObj) +{ + IDummySource *This = impl_from_IDropSource(iface); + TRACE("(%p)->(%s, %p)\n", This, debugstr_guid(riid), ppvObj); + + *ppvObj = NULL; + + if(IsEqualIID(riid, &IID_IDropSource)) Shouldn't this also accept IUnknown?
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/8063#note_103641