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)
HDC WINAPI BeginPaint(_In_ HWND, _Out_ LPPAINTSTRUCT)
const char * WndClassName
static const BLENDFUNCTION BlendFunc
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)
static VOID NTAPI 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)
struct tagBITMAPINFO BITMAPINFO