mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 12:19:49 +00:00
Handle DInput8 interfaces in device QueryInterface.
This commit is contained in:
parent
02b9135d58
commit
809dd5b044
1 changed files with 10 additions and 0 deletions
|
@ -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