16 Dec
2009
16 Dec
'09
11:38 a.m.
Maarten Lankhorst <m.b.lankhorst(a)gmail.com> writes:
+static ULONG WINAPI MMDevEnum_Release(IMMDeviceEnumerator *iface) +{ + MMDevEnumImpl *This = (MMDevEnumImpl*)iface; + LONG ref = InterlockedDecrement(&This->ref); + TRACE("Refcount now %i\n", ref); + return ref; +}
Sounds like you want a static object here too... -- Alexandre Julliard julliard(a)winehq.org