From a0789f611df26b81c1ab294aacf3864957fe8e41 Mon Sep 17 00:00:00 2001 From: Michael Stefaniuc Date: Tue, 12 Jan 2010 00:25:24 +0100 Subject: [PATCH] ddraw: Simplify DllCanUnloadNow(). --- dlls/ddraw/main.c | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/dlls/ddraw/main.c b/dlls/ddraw/main.c index 24de0a21397..ed4e7cdac89 100644 --- a/dlls/ddraw/main.c +++ b/dlls/ddraw/main.c @@ -743,14 +743,7 @@ HRESULT WINAPI DllGetClassObject(REFCLSID rclsid, REFIID riid, LPVOID *ppv) */ HRESULT WINAPI DllCanUnloadNow(void) { - HRESULT hr; - FIXME("(void): stub\n"); - - EnterCriticalSection(&ddraw_cs); - hr = S_FALSE; - LeaveCriticalSection(&ddraw_cs); - - return hr; + return S_FALSE; } /*******************************************************************************