[ros-diffs] [gvg] 20132: Sync to Wine-0_9_3:

gvg at svn.reactos.com gvg at svn.reactos.com
Mon Dec 12 23:57:54 CET 2005


Sync to Wine-0_9_3:
Lionel Ulmer <lionel.ulmer at free.fr>
- Handle DInput8 interfaces in device QueryInterface.
Francois Gouget <fgouget at free.fr>
- Assorted spelling fixes.
Modified: trunk/reactos/lib/dinput/device.c
  _____  

Modified: trunk/reactos/lib/dinput/device.c
--- trunk/reactos/lib/dinput/device.c	2005-12-12 22:56:08 UTC (rev
20131)
+++ trunk/reactos/lib/dinput/device.c	2005-12-12 22:57:45 UTC (rev
20132)
@@ -517,6 +517,11 @@

 	*ppobj = This;
 	return DI_OK;
     }
+    if (IsEqualGUID(&IID_IDirectInputDevice8A,riid)) {
+	IDirectInputDevice8_AddRef(iface);
+	*ppobj = This;
+	return DI_OK;
+    }
     TRACE("Unsupported interface !\n");
     return E_FAIL;
 }
@@ -548,6 +553,11 @@
 	*ppobj = This;
 	return DI_OK;
     }
+    if (IsEqualGUID(&IID_IDirectInputDevice8W,riid)) {
+	IDirectInputDevice8_AddRef(iface);
+	*ppobj = This;
+	return DI_OK;
+    }
     TRACE("Unsupported interface !\n");
     return E_FAIL;
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.reactos.org/pipermail/ros-diffs/attachments/20051212/93f8e296/attachment.html


More information about the Ros-diffs mailing list