15 win_bitmap.bmBits = 0;
16 win_bitmap.bmBitsPixel = 1;
17 win_bitmap.bmHeight = 0;
18 win_bitmap.bmPlanes = 1;
19 win_bitmap.bmType = 1;
20 win_bitmap.bmWidth = 0;
21 win_bitmap.bmWidthBytes = 2;
23 ok(win_hBmp != 0,
"CreateBitmapIndirect failed\n");
28 win_bitmap.bmBits = 0;
29 win_bitmap.bmBitsPixel = 1;
30 win_bitmap.bmHeight = 0;
31 win_bitmap.bmPlanes = 1;
32 win_bitmap.bmType = 1;
33 win_bitmap.bmWidth = 0;
34 win_bitmap.bmWidthBytes = 1;
36 ok(win_hBmp == 0,
"CreateBitmapIndirect succeeded\n");
39 win_bitmap.bmBits = 0;
40 win_bitmap.bmBitsPixel = 1;
41 win_bitmap.bmHeight = 0;
42 win_bitmap.bmPlanes = 1;
43 win_bitmap.bmType = 1;
44 win_bitmap.bmWidth = 0;
45 win_bitmap.bmWidthBytes = 3;
47 ok(win_hBmp == 0,
"CreateBitmapIndirect succeeded\n");
50 win_bitmap.bmBits = 0;
51 win_bitmap.bmBitsPixel = 1;
52 win_bitmap.bmHeight = 0;
53 win_bitmap.bmPlanes = 1;
54 win_bitmap.bmType = 1;
55 win_bitmap.bmWidth = 0;
56 win_bitmap.bmWidthBytes = 4;
58 ok(win_hBmp != 0,
"CreateBitmapIndirect failed\n");
61 win_bitmap.bmBits = 0;
62 win_bitmap.bmBitsPixel = 8;
63 win_bitmap.bmHeight = 0xF000;
64 win_bitmap.bmPlanes = 1;
65 win_bitmap.bmType = 1;
66 win_bitmap.bmWidth = 0x8000;
67 win_bitmap.bmWidthBytes = win_bitmap.bmWidth;
void Test_CreateBitmapIndirect()
#define RtlZeroMemory(Destination, Length)
HBITMAP WINAPI CreateBitmapIndirect(_In_ const BITMAP *pbm)