Zhiyi Zhang (@zhiyi) commented about dlls/wintypes/propertyset.c:
return E_OUTOFMEMORY; impl->IPropertySet_iface.lpVtbl = &propertyset_vtbl;
- impl->ref = 1;
- impl->IObservableMap_HSTRING_IInspectable_iface.lpVtbl = &propertyset_IObservableMap_vtbl;
- impl->IMap_HSTRING_IInspectable_iface.lpVtbl = &propertyset_IMap_vtbl;
- impl->IIterable_IKeyValuePair_HSTRING_IInspectable_iface.lpVtbl = &iterable_kvpair_HSTRING_IInspectable_vtbl;
Avoid whitespace changes here. Set these interface vtable between setting impl->IPropertySet_iface.lpVtbl and impl->ref to avoid it.