Module: wine Branch: master Commit: cde699b286789a5dc563333ddddec821187a14a1 URL: http://source.winehq.org/git/wine.git/?a=commit;h=cde699b286789a5dc563333ddd...
Author: Kovács András andras@csevego.net Date: Wed Sep 15 23:48:12 2010 -0500
dinput: Return an error in IDirectInputDevice2AImpl_GetProperty().
---
dlls/dinput/device.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/dinput/device.c b/dlls/dinput/device.c index a5c61ab..430351e 100644 --- a/dlls/dinput/device.c +++ b/dlls/dinput/device.c @@ -887,8 +887,8 @@ HRESULT WINAPI IDirectInputDevice2AImpl_GetProperty( break; } default: - WARN("Unknown property %s\n", debugstr_guid(rguid)); - break; + FIXME("Unknown property %s\n", debugstr_guid(rguid)); + return DIERR_INVALIDPARAM; }
return DI_OK;