>@@ -135,7 +154,7 @@ > IEnumMediaTypesImpl *This = (IEnumMediaTypesImpl *)iface; > ULONG refCount = InterlockedIncrement(&This->refCount); > >- TRACE("()\n"); >+ TRACE("(%p)->() Release from %ld\n", iface, refCount + 1); ^^^^^^^^^^
This is in AddRef so the comment (and calculation of refCount to report) seems wrong to me. > > return refCount; > } Rolf Kalbermatter