13 iconinfo.
fIcon = fIcon;
20 ok(hicon == 0,
"should fail\n");
24 ok(hicon != 0,
"should not fail\n");
38 ok(iconinfo2.
hbmMask !=
NULL,
"iconinfo2.hbmMask was NULL\n");
40 ok(iconinfo2.
hbmColor ==
NULL,
"iconinfo2.hbmColor was not NULL\n");
60 ok(hicon != 0,
"should not fail\n");
96 "bmBitsPixel = %u\n",
bitmap.bmBitsPixel);
102 ok(hicon == 0,
"should fail\n");
107 ok(hicon == 0,
"should fail\n");
111 ok(hicon != 0,
"should not fail\n");
132 "bmBitsPixel = %u\n",
bitmap.bmBitsPixel);
149 ok(hcursor != 0,
"should not fail\n");
151 ok(iconinfo2.
fIcon == 0,
"\n");
167 ok(hcursor != 0,
"should not fail\n");
169 ok(iconinfo2.
fIcon == 0,
"\n");
186 ok(hicon != 0,
"should not fail\n");
189 ok(iconinfo2.
fIcon == 0 || iconinfo2.
fIcon == 1,
"fIcon = 0x%x\n", iconinfo2.
fIcon);
void Test_GetIconInfo(BOOL fIcon)
#define ok_int(expression, result)
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * data
HBITMAP WINAPI CreateBitmap(_In_ INT cx, _In_ INT cy, _In_ UINT cPlanes, _In_ UINT cBitsPerPel, _In_opt_ const VOID *pvBits)
HBITMAP WINAPI CreateCompatibleBitmap(_In_ HDC hdc, _In_ INT cx, _In_ INT cy)
HICON WINAPI CreateIconIndirect(_In_ PICONINFO)
HICON WINAPI CreateIcon(_In_opt_ HINSTANCE, _In_ int, _In_ int, _In_ BYTE, _In_ BYTE, _In_ const BYTE *, _In_ const BYTE *)
BOOL WINAPI GetIconInfo(_In_ HICON, _Out_ PICONINFO)
HDC WINAPI GetDC(_In_opt_ HWND)
HCURSOR WINAPI CreateCursor(_In_opt_ HINSTANCE, _In_ int, _In_ int, _In_ int, _In_ int, _In_ CONST VOID *, _In_ CONST VOID *)