Small fix in IDirectInputDevice2Impl_QueryInterface.
This commit is contained in:
parent
711e1ba021
commit
9d74dca27c
|
@ -341,8 +341,8 @@ HRESULT WINAPI IDirectInputDevice2AImpl_QueryInterface(
|
|||
*ppobj = This;
|
||||
return 0;
|
||||
}
|
||||
if (IsEqualGUID(&IID_IDirectInputDevice2A,riid)) {
|
||||
IDirectInputDevice2_AddRef(iface);
|
||||
if (IsEqualGUID(&IID_IDirectInputDevice7A,riid)) {
|
||||
IDirectInputDevice7_AddRef(iface);
|
||||
*ppobj = This;
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue