gdi32: Make the bitmap test pass under Windows 2000

Dmitry Timoshkov dmitry at codeweavers.com
Mon Apr 21 10:20:38 CDT 2008


"Paul Vriens" <paul.vriens.wine at gmail.com> wrote:

>>>> +if (0)
>>>> +{   /* this test fails under Win2k */
>>>>      SetLastError(0xdeadbeef);
>>>>      hbmp = CreateBitmap(0x7ffffff, 1, 1, 1, NULL);
>>>>      ok(hbmp != 0, "CreateBitmap should not fail\n");
>>>>      DeleteObject(hbmp);
>>>> +}
>>> It would be better to find values that work on all platforms, instead of
>>> disabling the test completely.
>> 
>> Yes, it would be better, but unfortunately I don't have windows 2000
>> installed around.
>> 
> If you need me to test something on a Win2K box (Vmware) just shout.

We need to know what bitmap size is acceptable for CreateBitmap, so
basically experimenting with first 2 parameters in the above test
should answer that.

-- 
Dmitry.



More information about the wine-devel mailing list