Really small dinput mouse fix
Paul Bain
prbain at essex.ac.uk
Sat Jun 7 16:23:46 CDT 2003
Puts IID_IDirectInputDevice2A back in
IDirectInputDevice2AImpl_QueryInterface so the mouse works again in a
few games that use it. :)
--
Paul Bain <prbain at essex.ac.uk>
-------------- next part --------------
--- wine/dlls/dinput/device.c 2003-06-07 22:12:29.000000000 +0100
+++ wine-new/dlls/dinput/device.c 2003-06-07 22:12:08.000000000 +0100
@@ -341,6 +341,11 @@
*ppobj = This;
return 0;
}
+ if (IsEqualGUID(&IID_IDirectInputDevice2A,riid)) {
+ IDirectInputDevice2_AddRef(iface);
+ *ppobj = This;
+ return 0;
+ }
if (IsEqualGUID(&IID_IDirectInputDevice7A,riid)) {
IDirectInputDevice7_AddRef(iface);
*ppobj = This;
More information about the wine-patches
mailing list