[PATCH] user32: Added GetDisplayConfigBufferSizes() stub

Dmitry Timoshkov dmitry at baikal.ru
Fri Oct 23 07:29:53 CDT 2015


Nikolay Sivov <nsivov at codeweavers.com> wrote:

> +LONG WINAPI GetDisplayConfigBufferSizes(UINT32 flags, UINT32 *num_path_info, UINT32 *num_mode_info)
> +{
> +    FIXME("(0x%x %p %p): stub\n", flags, num_path_info, num_mode_info);
> +    if (num_path_info) *num_path_info = 0;
> +    if (num_mode_info) *num_mode_info = 0;
> +    return ERROR_NOT_SUPPORTED;
> +}

According to MSDN 2nd and 3rd parameters of this API can't be NULL.
Also you should probably add a prototype to winuser.h.

-- 
Dmitry.



More information about the wine-devel mailing list