Small fix in IDirectInputDevice2Impl_QueryInterface.

This commit is contained in:
Christian Costa 2003-04-29 22:47:04 +00:00 committed by Alexandre Julliard
parent 711e1ba021
commit 9d74dca27c
1 changed files with 2 additions and 2 deletions

View File

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