gdi32: Do not allow to create too large device dependent bitmaps like Windows does

Robert Shearman rob at codeweavers.com
Tue Jan 15 04:33:30 CST 2008


Dmitry Timoshkov wrote:
> +    SetLastError(0xdeadbeef);
> +    hbmp = CreateBitmap(0x7ffffff, 9, 1, 1, NULL);
> +    ok(!hbmp, "CreateBitmap should fail\n");
> +    ok(GetLastError() == ERROR_NOT_ENOUGH_MEMORY,
> +       "expected ERROR_INVALID_PARAMETER, got %u\n", GetLastError());
>   

The string here doesn't match the test.

-- 
Rob Shearman




More information about the wine-devel mailing list