gdi32: Make the bitmap test pass under Windows 2000

Austin English austinenglish at gmail.com
Mon Apr 21 11:47:44 CDT 2008


On Mon, Apr 21, 2008 at 10:06 AM, Dmitry Timoshkov <dmitry at codeweavers.com>
wrote:

> "Alexandre Julliard" <julliard at winehq.org> wrote:
>
> >> @@ -967,15 +970,19 @@ static void test_bitmap(void)
> >>      hdc = CreateCompatibleDC(0);
> >>      assert(hdc != 0);
> >>
> >> +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.
>
> --
> Dmitry.
>
>
> I've got about 6 2k boxes lying around at work I can test on...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.winehq.org/pipermail/wine-devel/attachments/20080421/d9038bf3/attachment.htm 


More information about the wine-devel mailing list