dxva2: Return E_NOTIMPL from GetPhysicalMonitorsFromIDirect3DDevice9 stub.

Sebastian Lackner sebastian at fds-team.de
Tue Sep 13 16:13:20 CDT 2016


Signed-off-by: Sebastian Lackner <sebastian at fds-team.de>
---

./dlls/dxva2/main.c:191:5: warning: Returning type 'int' in function with HRESULT return type [wine-hresult-check]
    return FALSE;
    ^

 dlls/dxva2/main.c |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/dlls/dxva2/main.c b/dlls/dxva2/main.c
index b4704f0..782f0df 100644
--- a/dlls/dxva2/main.c
+++ b/dlls/dxva2/main.c
@@ -187,8 +187,7 @@ HRESULT WINAPI GetPhysicalMonitorsFromIDirect3DDevice9( IDirect3DDevice9 *device
 {
     FIXME("(%p, 0x%x, %p): stub\n", device, arraySize, array);
 
-    SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
-    return FALSE;
+    return E_NOTIMPL;
 }
 
 BOOL WINAPI GetTimingReport( HMONITOR monitor, LPMC_TIMING_REPORT timingReport )
-- 
2.9.0



More information about the wine-patches mailing list