[PATCH 2/3] mmdevapi: Add stubs for MMDevEnum, with tests

Alexandre Julliard julliard at winehq.org
Wed Dec 16 05:38:32 CST 2009


Maarten Lankhorst <m.b.lankhorst at 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 at winehq.org



More information about the wine-devel mailing list