mirror of
https://github.com/reactos/reactos.git
synced 2024-07-11 23:25:09 +00:00
Sync to Wine-0_9_3:
Lionel Ulmer <lionel.ulmer@free.fr> - Handle DInput8 interfaces in device QueryInterface. Francois Gouget <fgouget@free.fr> - Assorted spelling fixes. svn path=/trunk/; revision=20132
This commit is contained in:
parent
dfa67df83f
commit
6ff9c7396b
|
@ -517,6 +517,11 @@ HRESULT WINAPI IDirectInputDevice2AImpl_QueryInterface(
|
|||
*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 @@ HRESULT WINAPI IDirectInputDevice2WImpl_QueryInterface(
|
|||
*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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue