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