Implement a stub for PrintWindow in user32

Dmitry Timoshkov dmitry at codeweavers.com
Mon Nov 30 07:14:06 CST 2009


"Luke Benstead" <kazade at gmail.com> wrote:

> +/************************************************************************
> + *  PrintWindow (USER32.@)
> + *
> + */
> +BOOL WINAPI PrintWindow(HWND hwnd, HDC hdcBlt, UINT nFlags)
> +{
> +    return TRUE;
> +}

If this is a stub, it should not return TRUE, should print a FIXME,
and probably set an appropriate last error.

Besides, MSDN has a nice hint how to implement this API properly.

-- 
Dmitry.



More information about the wine-devel mailing list