[PATCH v4] dwmapi: Implement DwmIsCompositionEnabled

Joel Leclerc meerkatanonymous at gmail.com
Wed Oct 9 07:53:39 CDT 2019


Signed-off-by: Joel Leclerc <meerkatanonymous at gmail.com>
---
v4: Add dwmapi component name to the commit message, sorry for the noise
---
 dlls/dwmapi/dwmapi_main.c | 11 ++---------
 1 file changed, 2 insertions(+), 9 deletions(-)

diff --git a/dlls/dwmapi/dwmapi_main.c b/dlls/dwmapi/dwmapi_main.c
index 6378a091f0..812cf4597d 100644
--- a/dlls/dwmapi/dwmapi_main.c
+++ b/dlls/dwmapi/dwmapi_main.c
@@ -51,16 +51,9 @@ BOOL WINAPI DllMain(HINSTANCE hInstDLL, DWORD fdwReason, LPVOID lpv)
  */
 HRESULT WINAPI DwmIsCompositionEnabled(BOOL *enabled)
 {
-    static int once;
-    if (!once)
-    {
-        FIXME("%p\n", enabled);
-        once = 1;
-    }
-    else
-        TRACE("%p\n", enabled);
+    TRACE("%p\n", enabled);
 
-    *enabled = FALSE;
+    *enabled = TRUE;
     return S_OK;
 }
 
-- 
2.23.0




More information about the wine-devel mailing list