Re: Dinput8: DllGetClassObject support
8 May
2006
8 May
'06
9:37 a.m.
"Roderick Colenbrander" <thunderbird2k(a)gmx.net> writes:
+static ULONG WINAPI DI8CF_AddRef(LPCLASSFACTORY iface) { + LockModule(); + return 2; +} + +static ULONG WINAPI DI8CF_Release(LPCLASSFACTORY iface) { + UnlockModule(); + return 1; +}
You need to track the lifetime of the created objects with LockModule, not the refcount of the class factory, that's useless. -- Alexandre Julliard julliard(a)winehq.org
7248
Age (days ago)
7248
Last active (days ago)
0 comments
1 participants
participants (1)
-
Alexandre Julliard