Maarten Lankhorst m.b.lankhorst@gmail.com writes:
+static ULONG WINAPI MMCF_Release(LPCLASSFACTORY iface) +{
- IClassFactoryImpl *This = (IClassFactoryImpl *)iface;
- ULONG ref = InterlockedDecrement(&(This->ref));
- TRACE("(%p) ref was %d\n", This, ref + 1);
- /* static class, won't be freed */
You don't need a refcount then.