16{
18
20 {
22 {
24 break;
25 }
26
28 {
32 HBRUSH brush, brush2;
34
37
39
40
44
45
51
56
61
66
71
76
77
79
80
83
84
86
92
97
102
106
107
108 StretchBlt(
hdc, 30+400, 0,
bitmap.bmWidth/2,
bitmap.bmHeight/2,
hdcMem, 0, 0,
bitmap.bmWidth,
bitmap.bmHeight,
SRCCOPY);
109 StretchBlt(
hdc, 130+400, 0,
bitmap.bmWidth/2,
bitmap.bmHeight/2,
hdcMem, 0, 0,
bitmap.bmWidth,
bitmap.bmHeight,
DSTINVERT);
110 StretchBlt(
hdc, 230+400, 0,
bitmap.bmWidth/2,
bitmap.bmHeight/2,
hdcMem, 0, 0,
bitmap.bmWidth,
bitmap.bmHeight,
MERGECOPY);
111 StretchBlt(
hdc, 330+400, 0,
bitmap.bmWidth/2,
bitmap.bmHeight/2,
hdcMem, 0, 0,
bitmap.bmWidth,
bitmap.bmHeight,
MERGEPAINT);
112
113 StretchBlt(
hdc, 30+400, 100,
bitmap.bmWidth/2,
bitmap.bmHeight/2,
hdcMem, 0, 0,
bitmap.bmWidth,
bitmap.bmHeight,
NOTSRCCOPY);
114 StretchBlt(
hdc, 130+400, 100,
bitmap.bmWidth/2,
bitmap.bmHeight/2,
hdcMem, 0, 0,
bitmap.bmWidth,
bitmap.bmHeight,
NOTSRCERASE);
115 StretchBlt(
hdc, 230+400, 100,
bitmap.bmWidth/2,
bitmap.bmHeight/2,
hdcMem, 0, 0,
bitmap.bmWidth,
bitmap.bmHeight,
PATCOPY);
116 StretchBlt(
hdc, 330+400, 100,
bitmap.bmWidth/2,
bitmap.bmHeight/2,
hdcMem, 0, 0,
bitmap.bmWidth,
bitmap.bmHeight,
PATINVERT);
117
118 StretchBlt(
hdc, 30+400, 200,
bitmap.bmWidth/2,
bitmap.bmHeight/2,
hdcMem, 0, 0,
bitmap.bmWidth,
bitmap.bmHeight,
PATPAINT);
119 StretchBlt(
hdc, 130+400, 200,
bitmap.bmWidth/2,
bitmap.bmHeight/2,
hdcMem, 0, 0,
bitmap.bmWidth,
bitmap.bmHeight,
SRCAND);
120 StretchBlt(
hdc, 230+400, 200,
bitmap.bmWidth/2,
bitmap.bmHeight/2,
hdcMem, 0, 0,
bitmap.bmWidth,
bitmap.bmHeight,
SRCERASE);
121 StretchBlt(
hdc, 330+400, 200,
bitmap.bmWidth/2,
bitmap.bmHeight/2,
hdcMem, 0, 0,
bitmap.bmWidth,
bitmap.bmHeight,
SRCINVERT);
122
123 StretchBlt(
hdc, 30+400, 300,
bitmap.bmWidth/2,
bitmap.bmHeight/2,
hdcMem, 0, 0,
bitmap.bmWidth,
bitmap.bmHeight,
BLACKNESS);
124 StretchBlt(
hdc, 130+400, 300,
bitmap.bmWidth/2,
bitmap.bmHeight/2,
hdcMem, 0, 0,
bitmap.bmWidth,
bitmap.bmHeight,
SRCPAINT);
125 StretchBlt(
hdc, 230+400, 300,
bitmap.bmWidth/2,
bitmap.bmHeight/2,
hdcMem, 0, 0,
bitmap.bmWidth,
bitmap.bmHeight,
WHITENESS);
126
131 break;
132 }
133
136 break;
137 default:
139 }
140 return 0;
141}
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)
COLORREF WINAPI SetBkColor(_In_ HDC, _In_ COLORREF)
BOOL WINAPI SetWindowOrgEx(_In_ HDC, _In_ int, _In_ int, _Out_opt_ LPPOINT)
HBRUSH WINAPI CreateHatchBrush(_In_ int, _In_ COLORREF)
HGDIOBJ WINAPI SelectObject(_In_ HDC, _In_ HGDIOBJ)
HDC WINAPI CreateCompatibleDC(_In_opt_ HDC hdc)
BOOL WINAPI StretchBlt(_In_ HDC, _In_ int, _In_ int, _In_ int, _In_ int, _In_opt_ HDC, _In_ int, _In_ int, _In_ int, _In_ int, _In_ DWORD)
BOOL WINAPI PatBlt(_In_ HDC, _In_ int, _In_ int, _In_ int, _In_ int, _In_ DWORD)
BOOL WINAPI DeleteDC(_In_ HDC)
__analysis_noreturn void WINAPI PostQuitMessage(_In_ int)
BOOL WINAPI EndPaint(_In_ HWND, _In_ const PAINTSTRUCT *)
HDC WINAPI BeginPaint(_In_ HWND, _Out_ LPPAINTSTRUCT)