39 LPTSTR lpCmdLine,
int nCmdShow)
69 530, 5, 130, 150, HWnd,
75 530, 5+170, 130, 150, HWnd,
83 reinterpret_cast<LPARAM>(
"Zoom 25%"));
85 reinterpret_cast<LPARAM>(
"Zoom 50%"));
87 reinterpret_cast<LPARAM>(
"Zoom 75%"));
89 reinterpret_cast<LPARAM>(
"Zoom 100%"));
91 reinterpret_cast<LPARAM>(
"Zoom 125%"));
93 reinterpret_cast<LPARAM>(
"Zoom 150%"));
95 reinterpret_cast<LPARAM>(
"Zoom 200%"));
97 reinterpret_cast<LPARAM>(
"Zoom 300%"));
100 reinterpret_cast<LPARAM>(
"Zoom 25%"));
102 reinterpret_cast<LPARAM>(
"Zoom 50%"));
104 reinterpret_cast<LPARAM>(
"Zoom 75%"));
106 reinterpret_cast<LPARAM>(
"Zoom 100%"));
108 reinterpret_cast<LPARAM>(
"Zoom 125%"));
110 reinterpret_cast<LPARAM>(
"Zoom 150%"));
112 reinterpret_cast<LPARAM>(
"Zoom 200%"));
114 reinterpret_cast<LPARAM>(
"Zoom 300%"));
199 bbits =
new char[
bmp.bmHeight*
bmp.bmWidthBytes*(
bmp.bmBitsPixel / 8)];
246 const int new_width =
248 const int new_height =
315 bmp.bmWidth,
bmp.bmHeight,
347 bmp.bmWidth,
bmp.bmHeight,
ACPI_SIZE strlen(const char *String)
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 size_t __cdecl fread(_Out_writes_bytes_(_ElementSize *_Count) void *_DstBuf, _In_ size_t _ElementSize, _In_ size_t _Count, _Inout_ FILE *_File)
_Check_return_ _CRTIMP FILE *__cdecl fopen(_In_z_ const char *_Filename, _In_z_ const char *_Mode)
_Check_return_opt_ _CRTIMP int __cdecl fseek(_Inout_ FILE *_File, _In_ long _Offset, _In_ int _Origin)
_Check_return_opt_ _CRTIMP int __cdecl fclose(_Inout_ FILE *_File)
static const CLSID *static CLSID *static const GUID VARIANT VARIANT *static IServiceProvider DWORD *static HMENU
#define WS_OVERLAPPEDWINDOW
const char * WndClassName
int APIENTRY WinMain(HINSTANCE HInstance, HINSTANCE HPrevInstance, LPTSTR lpCmdLine, int nCmdShow)
LRESULT CALLBACK MainWndProc(HWND HWnd, UINT Msg, WPARAM WParam, LPARAM LParam)
BITMAPINFOHEADER bmiHeader
TW_UINT32 TW_UINT16 TW_UINT16 MSG
HGDIOBJ WINAPI SelectObject(_In_ HDC, _In_ HGDIOBJ)
HDC WINAPI CreateCompatibleDC(_In_opt_ HDC hdc)
int WINAPI CombineRgn(_In_opt_ HRGN hrgnDest, _In_opt_ HRGN hrgnSrc1, _In_opt_ HRGN hrgnSrc2, _In_ int fnCombineMode)
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)
HRGN WINAPI CreateRectRgnIndirect(_In_ LPCRECT)
BOOL WINAPI DeleteDC(_In_ HDC)
int WINAPI SetStretchBltMode(_In_ HDC, _In_ int)
int WINAPI StretchDIBits(_In_ HDC, _In_ int, _In_ int, _In_ int, _In_ int, _In_ int, _In_ int, _In_ int, _In_ int, _In_opt_ const VOID *, _In_ const BITMAPINFO *, _In_ UINT, _In_ DWORD)
BOOL WINAPI RedrawWindow(_In_opt_ HWND, _In_opt_ LPCRECT, _In_opt_ HRGN, _In_ UINT)
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)
BOOL WINAPI InvalidateRgn(_In_ HWND, _In_opt_ HRGN, _In_ BOOL)
BOOL WINAPI InvalidateRect(_In_opt_ HWND, _In_opt_ LPCRECT, _In_ BOOL)
HDC WINAPI BeginPaint(_In_ HWND, _Out_ LPPAINTSTRUCT)