5 HDC hdcSrc,
int xSrc,
int ySrc,
int widthSrc,
int heightSrc,
9 #define AC_SRC_ALPHA (0x1) 18 LPTSTR lpCmdLine,
int nCmdShow)
102 for(
y = 0;
y <
bmp->bmHeight;
y++)
104 for(
x = 0;
x <
bmp->bmWidth;
x++)
171 bmp.bmWidth,
bmp.bmHeight,
BOOL WINAPI TranslateMessage(_In_ const MSG *)
BOOL WINAPI GdiAlphaBlend(HDC hdcDst, int xDst, int yDst, int widthDst, int heightDst, HDC hdcSrc, int xSrc, int ySrc, int widthSrc, int heightSrc, BLENDFUNCTION blendFunction)
int APIENTRY WinMain(HINSTANCE HInstance, HINSTANCE HPrevInstance, LPTSTR lpCmdLine, int nCmdShow)
BITMAPINFOHEADER bmiHeader
LRESULT CALLBACK MainWndProc(HWND HWnd, UINT Msg, WPARAM WParam, LPARAM LParam)
BOOL ConvertBitmapTo32Bpp(HDC hDC, BITMAP *bmp)
TW_UINT32 TW_UINT16 TW_UINT16 MSG
BOOL WINAPI UpdateWindow(_In_ HWND)
HGDIOBJ WINAPI SelectObject(_In_ HDC, _In_ HGDIOBJ)
BOOL WINAPI DeleteObject(_In_ HGDIOBJ)
GLint GLint GLint GLint GLint x
HDC WINAPI CreateCompatibleDC(_In_opt_ HDC hdc)
BOOL WINAPI ShowWindow(_In_ HWND, _In_ int)
BOOL WINAPI EndPaint(_In_ HWND, _In_ const PAINTSTRUCT *)
DWORD GetPixel(LPDIRECTDRAWSURFACE7 Surface, UINT x, UINT y)
static VOID NTAPI BitBlt(IN ULONG Left, IN ULONG Top, IN ULONG Width, IN ULONG Height, IN PUCHAR Buffer, IN ULONG BitsPerPixel, IN ULONG Delta)
HDC WINAPI BeginPaint(_In_ HWND, _Out_ LPPAINTSTRUCT)
const char * WndClassName
BOOL WINAPI DeleteDC(_In_ HDC)
HBITMAP WINAPI CreateDIBSection(HDC hDC, CONST BITMAPINFO *BitmapInfo, UINT Usage, VOID **Bits, HANDLE hSection, DWORD dwOffset)
GLint GLint GLint GLint GLint GLint y
__analysis_noreturn void WINAPI PostQuitMessage(_In_ int)
struct tagBITMAPINFO BITMAPINFO