[PATCH v4] dwmapi: Implement DwmIsCompositionEnabled

Alexandre Julliard julliard at winehq.org
Thu Oct 17 14:15:25 CDT 2019


Joel Leclerc <meerkatanonymous at gmail.com> writes:

>  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;

It seems that this is only moving the problem around. We'd probably need
to check the manifest version as described in MSDN.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list