--- 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;
}