[DINPUT] Small fix

Christian Costa titan.costa at wanadoo.fr
Tue Apr 29 16:29:05 CDT 2003


Hi,

This makes Croc 2 works...
Bye

Changelog :
Small fix in IDirectInputDevice2Impl_QueryInterface.

Christian Costa   titan.costa at wanadoo.fr

-------------- next part --------------
Index: device.c
===================================================================
RCS file: /home/wine/wine/dlls/dinput/device.c,v
retrieving revision 1.10
diff -u -r1.10 device.c
--- device.c	12 Feb 2003 21:27:00 -0000	1.10
+++ device.c	29 Apr 2003 21:02:17 -0000
@@ -341,8 +341,8 @@
 		*ppobj = This;
 		return 0;
 	}
-	if (IsEqualGUID(&IID_IDirectInputDevice2A,riid)) {
-		IDirectInputDevice2_AddRef(iface);
+	if (IsEqualGUID(&IID_IDirectInputDevice7A,riid)) {
+		IDirectInputDevice7_AddRef(iface);
 		*ppobj = This;
 		return 0;
 	}


More information about the wine-patches mailing list