9 { 0x00, 0x00, 0x00, 0x00 },
10 { 0x00, 0x00, 0x80, 0x00 },
11 { 0x00, 0x80, 0x00, 0x00 },
12 { 0x00, 0x80, 0x80, 0x00 },
13 { 0x80, 0x00, 0x00, 0x00 },
14 { 0x80, 0x00, 0x80, 0x00 },
15 { 0x80, 0x80, 0x00, 0x00 },
16 { 0x80, 0x80, 0x80, 0x00 },
17 { 0xc0, 0xc0, 0xc0, 0x00 },
18 { 0x00, 0x00, 0xFF, 0x00 },
19 { 0x00, 0xFF, 0x00, 0x00 },
20 { 0x00, 0xFF, 0xFF, 0x00 },
21 { 0xFF, 0x00, 0x00, 0x00 },
22 { 0xFF, 0x00, 0xFF, 0x00 },
23 { 0xFF, 0xFF, 0x00, 0x00 },
24 { 0xFF, 0xFF, 0xFF, 0x00 }
107 for (col = 0; col < 16; col++) {
123 for (col = 0; col < 4; col++)
int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpszCmdLine, int nCmdShow)
LRESULT WINAPI MainWndProc(HWND, UINT, WPARAM, LPARAM)
static void PaintCells(HDC WindowDC, WORD BitCount1, WORD BitCount2, int XDest, int YDest)
struct png_info_def *typedef unsigned char **typedef struct png_info_def *typedef struct png_info_def *typedef struct png_info_def *typedef unsigned char ** row
static VOID BitBlt(_In_ ULONG Left, _In_ ULONG Top, _In_ ULONG Width, _In_ ULONG Height, _In_reads_bytes_(Delta *Height) PUCHAR Buffer, _In_ ULONG BitsPerPixel, _In_ ULONG Delta)
_Check_return_opt_ _CRTIMP int __cdecl fprintf(_Inout_ FILE *_File, _In_z_ _Printf_format_string_ const char *_Format,...)
#define WS_OVERLAPPEDWINDOW
BITMAPINFOHEADER bmiHeader
TW_UINT32 TW_UINT16 TW_UINT16 MSG
HBITMAP WINAPI CreateDIBSection(HDC hDC, CONST BITMAPINFO *BitmapInfo, UINT Usage, VOID **Bits, HANDLE hSection, DWORD dwOffset)
DWORD WINAPI GetLastError(void)
HGDIOBJ WINAPI GetStockObject(_In_ int)
HGDIOBJ WINAPI SelectObject(_In_ HDC, _In_ HGDIOBJ)
HDC WINAPI CreateCompatibleDC(_In_opt_ HDC hdc)
int WINAPI FillRect(HDC, LPCRECT, HBRUSH)
HBRUSH WINAPI CreateSolidBrush(_In_ COLORREF)
BOOL WINAPI TranslateMessage(_In_ const MSG *)
BOOL WINAPI ShowWindow(_In_ HWND, _In_ int)
__analysis_noreturn void WINAPI PostQuitMessage(_In_ int)
BOOL WINAPI EndPaint(_In_ HWND, _In_ const PAINTSTRUCT *)
HDC WINAPI BeginPaint(_In_ HWND, _Out_ LPPAINTSTRUCT)