Go to the source code of this file.
◆ START_TEST()
Definition at line 47 of file GetPixel.c.
48{
50}
void Test_GetPixel_1bpp()
◆ Test_GetPixel_1bpp()
void Test_GetPixel_1bpp |
( |
| ) |
|
Definition at line 10 of file GetPixel.c.
11{
14 char buffer[] = {0x80, 0x0};
16
18 ok(
hbmp !=
NULL,
"Failed to create a monochrom bitmap...\n");
21 ok(
hbmp !=
NULL,
"Could not select the bitmap into the DC.\n");
22
27
34
41
45}
DWORD GetPixel(LPDIRECTDRAWSURFACE7 Surface, UINT x, UINT y)
HBITMAP WINAPI CreateBitmap(_In_ INT cx, _In_ INT cy, _In_ UINT cPlanes, _In_ UINT cBitsPerPel, _In_opt_ const VOID *pvBits)
COLORREF WINAPI SetBkColor(_In_ HDC, _In_ COLORREF)
HGDIOBJ WINAPI SelectObject(_In_ HDC, _In_ HGDIOBJ)
HDC WINAPI CreateCompatibleDC(_In_opt_ HDC hdc)
COLORREF WINAPI SetTextColor(_In_ HDC, _In_ COLORREF)
BOOL WINAPI DeleteDC(_In_ HDC)
Referenced by START_TEST().