[DINPUT] fix EnumCreatedEffectObjects to not crash
Robert Reif
reif at earthlink.net
Mon May 16 06:51:02 CDT 2005
Effect objects are not supported yet so don't crash when trying to
enumerate them.
-------------- next part --------------
Index: dlls/dinput/device.c
===================================================================
RCS file: /home/wine/wine/dlls/dinput/device.c,v
retrieving revision 1.28
diff -u -p -r1.28 device.c
--- dlls/dinput/device.c 10 May 2005 13:17:03 -0000 1.28
+++ dlls/dinput/device.c 16 May 2005 11:48:23 -0000
@@ -757,8 +757,6 @@ HRESULT WINAPI IDirectInputDevice2AImpl_
{
FIXME("(this=%p,%p,%p,0x%08lx): stub!\n",
iface, lpCallback, lpvRef, dwFlags);
- if (lpCallback)
- lpCallback(NULL, lpvRef);
return DI_OK;
}
More information about the wine-patches
mailing list