12 Jul
2025
12 Jul
'25
8:45 p.m.
Nikolay Sivov (@nsivov) commented about dlls/propsys/propsys_main.c:
static IClassFactory InMemoryPropertyStoreFactory = { &InMemoryPropertyStoreFactoryVtbl };
+static HRESULT WINAPI propsys_factory_CreateInstance(IClassFactory *iface, IUnknown *outer, REFIID iid, void **out) +{ + TRACE("%p, %p, %s, %p\n", iface, outer, debugstr_guid(iid), out); + + *out = NULL; + if (outer) + return CLASS_E_NOAGGREGATION; + return PSGetPropertySystem(iid, out); +}
I don't think this is correct, PSGetPropertySystem() doesn't work without COM initialization. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/6892#note_109666