From: Joel Leclerc Subject: [PATCH v4] dwmapi: Implement DwmIsCompositionEnabled Message-Id: <20191009125339.1269620-1-meerkatanonymous@gmail.com> Date: Wed, 9 Oct 2019 05:53:39 -0700 Signed-off-by: Joel Leclerc --- 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