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);
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);
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);
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);
176 _T(
"BitBlt raster operation test"),
220 return (
int)
msg.wParam;
static LRESULT CALLBACK WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
static ATOM MyRegisterClass(HINSTANCE hInstance)
static BOOL InitInstance(HINSTANCE hInstance, int nCmdShow)
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)
#define WS_OVERLAPPEDWINDOW
TW_UINT32 TW_UINT16 TW_UINT16 MSG
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)
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 *)
BOOL WINAPI UpdateWindow(_In_ HWND)
HDC WINAPI BeginPaint(_In_ HWND, _Out_ LPPAINTSTRUCT)