Francois Gouget wrote:
This time without the bug that caused tests to fail in Wine and on Windows XP.
- SetLastError(0xdeadbeef); ret = GetBitmapBits(hbm, 0, NULL);
- ok(ret == bm.bmWidthBytes * bm.bmHeight, "%d != %d\n", ret, bm.bmWidthBytes * bm.bmHeight);
- gle=GetLastError();
- ok(ret == bm.bmWidthBytes * bm.bmHeight || (ret == 0 && gle == ERROR_INVALID_PARAMETER /* Win9x */), "%d != %d\n", ret, bm.bmWidthBytes * bm.bmHeight);
Any reason this one isn't put into a broken() for win9x (as you did with all the others).