[PATCH] shcore: Add GetScaleFactorForMonitor stub

Dmitry Timoshkov dmitry at baikal.ru
Thu Oct 31 02:31:24 CDT 2019


Esdras Tarsis <esdrastarsis at gmail.com> wrote:

> +/*************************************************************************
> + * GetScaleFactorForMonitor        [SHCORE.@]
> + */
> +HRESULT WINAPI GetScaleFactorForMonitor(HMONITOR monitor, DEVICE_SCALE_FACTOR *scale)
> +{
> +    FIXME("(%d, %p) - stub!\n", monitor, scale);
> +    return S_OK;
> +}

It's better to use %p for HMONITOR in the trace. Also returning SCALE_100_PERCENT
seems reasonable even for a stub, especially since it pretends to return success.

-- 
Dmitry.



More information about the wine-devel mailing list