Module: wine Branch: master Commit: 9e6afc62b3b5eef1e3a83881345c1c67104b9988 URL: https://source.winehq.org/git/wine.git/?a=commit;h=9e6afc62b3b5eef1e3a838813...
Author: Alistair Leslie-Hughes leslie_alistair@hotmail.com Date: Sat May 4 05:30:47 2019 +0000
dinput: Return E_NOINTERFACE from IDirectInputDevice2 QueryInterface.
Signed-off-by: Alistair Leslie-Hughes leslie_alistair@hotmail.com Signed-off-by: Alexandre Julliard julliard@winehq.org
---
dlls/dinput/device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/dinput/device.c b/dlls/dinput/device.c index 6c44616..cfade08 100644 --- a/dlls/dinput/device.c +++ b/dlls/dinput/device.c @@ -1203,7 +1203,7 @@ HRESULT WINAPI IDirectInputDevice2WImpl_QueryInterface(LPDIRECTINPUTDEVICE8W ifa }
WARN("Unsupported interface!\n"); - return E_FAIL; + return E_NOINTERFACE; }
HRESULT WINAPI IDirectInputDevice2AImpl_QueryInterface(LPDIRECTINPUTDEVICE8A iface, REFIID riid, LPVOID *ppobj)