mirror of
https://github.com/reactos/reactos.git
synced 2025-08-07 10:53:25 +00:00
[GDI32_APITEST]
Add tests for DPtoLP - More tests for CombineTransform, CreateBitmapIndirect and SelectObject svn path=/trunk/; revision=50404
This commit is contained in:
parent
e1efc7ca51
commit
8bf0247095
6 changed files with 289 additions and 69 deletions
|
@ -59,6 +59,17 @@ void Test_CreateBitmapIndirect()
|
|||
win_hBmp = CreateBitmapIndirect(&win_bitmap);
|
||||
ok(win_hBmp != 0, "CreateBitmapIndirect failed\n");
|
||||
|
||||
RtlZeroMemory(&win_bitmap,sizeof(BITMAP));
|
||||
win_bitmap.bmBits = 0;
|
||||
win_bitmap.bmBitsPixel = 8;
|
||||
win_bitmap.bmHeight = 0xF000;
|
||||
win_bitmap.bmPlanes = 1;
|
||||
win_bitmap.bmType = 1;
|
||||
win_bitmap.bmWidth = 0x8000;
|
||||
win_bitmap.bmWidthBytes = win_bitmap.bmWidth;
|
||||
win_hBmp = CreateBitmapIndirect(&win_bitmap);
|
||||
ok(win_hBmp != 0, "CreateBitmapIndirect failed\n");
|
||||
|
||||
DeleteObject(win_hBmp);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue