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.