Zhiyi Zhang (@zhiyi) commented about dlls/wintypes/tests/propertyset.c:
+ struct propset_changed_event_handler *impl = + impl_from_IWinePropertySetChangedEventHandler( iface ); + ULONG ref; + + ref = InterlockedDecrement( &impl->ref ); + if (!ref) + free( impl ); + return ref; +} + +static HRESULT STDMETHODCALLTYPE propset_changed_event_handler_get_TimesInvoked( + IWinePropertySetChangedEventHandler *iface, ULONG *times ) +{ + struct propset_changed_event_handler *impl = + impl_from_IWinePropertySetChangedEventHandler( iface ); + *times = impl->invoked; What's the purpose of IWinePropertySetChangedEventHandler? just to access `invoked`?
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/6766#note_86746