dlls/dinput: return an error in IDirectInputDevice2AImpl_GetProperty() (try 2)

Austin English austinenglish at gmail.com
Wed Sep 15 23:47:52 CDT 2010


This time giving proper credit (which I thought I had last time)...

-- 
-Austin
-------------- next part --------------
From b4326e6795e5c99bd579c8c19b2477ee4d19b70c Mon Sep 17 00:00:00 2001
From: Andras Kovacs <andras at csevego.net>
Date: Wed, 15 Sep 2010 23:48:12 -0500
Subject: [PATCH] dlls/dinput: return an error in IDirectInputDevice2AImpl_GetProperty()

---
 dlls/dinput/device.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/dlls/dinput/device.c b/dlls/dinput/device.c
index a5c61ab..eede95c 100644
--- a/dlls/dinput/device.c
+++ b/dlls/dinput/device.c
@@ -887,7 +887,8 @@ HRESULT WINAPI IDirectInputDevice2AImpl_GetProperty(
             break;
         }
         default:
-            WARN("Unknown property %s\n", debugstr_guid(rguid));
+            FIXME("Unknown property %s\n", debugstr_guid(rguid));
+            return DIERR_INVALIDPARAM;
             break;
     }
 
-- 
1.7.0.4


More information about the wine-patches mailing list