[PATCH 2/5] ddraw: Replace a ERR in ddraw_surface7_QueryInterface() with a WARN.

Henri Verbeet hverbeet at codeweavers.com
Thu Mar 29 18:08:35 CDT 2012


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

diff --git a/dlls/ddraw/surface.c b/dlls/ddraw/surface.c
index bf36825..2178064 100644
--- a/dlls/ddraw/surface.c
+++ b/dlls/ddraw/surface.c
@@ -232,7 +232,8 @@ static HRESULT WINAPI ddraw_surface7_QueryInterface(IDirectDrawSurface7 *iface,
         return S_OK;
     }
 
-    ERR("No interface\n");
+    WARN("%s not implemented, returning E_NOINTERFACE.\n", debugstr_guid(riid));
+
     return E_NOINTERFACE;
 }
 
-- 
1.7.3.4




More information about the wine-patches mailing list