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`?