mirror of
https://github.com/reactos/reactos.git
synced 2025-02-23 17:05:46 +00:00
[GDI32_APITEST]
Add more tests for GetDIBColorTable svn path=/trunk/; revision=56545
This commit is contained in:
parent
b4cf798850
commit
2e19d5b6f6
1 changed files with 4 additions and 0 deletions
|
@ -30,6 +30,8 @@ void Test_GetDIBColorTable()
|
|||
cColors = GetDIBColorTable(hdc, 0, 257, (RGBQUAD*)aulColors);
|
||||
ok_long(cColors, 2);
|
||||
ok_err(0);
|
||||
ok_long(aulColors[0], 0x000000);
|
||||
ok_long(aulColors[1], 0xffffff);
|
||||
|
||||
hbmp = CreateBitmap(1, 1, 1, 1, NULL);
|
||||
ok(hbmp != 0, "\n");
|
||||
|
@ -38,6 +40,8 @@ void Test_GetDIBColorTable()
|
|||
cColors = GetDIBColorTable(hdc, 0, 257, (RGBQUAD*)aulColors);
|
||||
ok_long(cColors, 2);
|
||||
ok_err(0);
|
||||
ok_long(aulColors[0], 0x000000);
|
||||
ok_long(aulColors[1], 0xffffff);
|
||||
SelectObject(hdc, hbmpOld);
|
||||
DeleteObject(hbmp);
|
||||
|
||||
|
|
Loading…
Reference in a new issue