#include <windows.h>
#include <string.h>
Go to the source code of this file.
◆ MainWndProc()
Definition at line 64 of file wm_paint.c.
66{
67 const char*
text =
"Persistent Text";
68
70 {
72 {
73
77
78
79
81#if 0
82 try
83#endif
84 {
87
88
91
92
93
94
95
96
98
99
103 }
104#if 0
105 catch (...)
106#endif
107 {
108
110
111
113 }
114
116
117
119
120 break;
121 }
123 {
125 return 0;
126 }
127 }
129}
ACPI_SIZE strlen(const char *String)
int WINAPI IntersectClipRect(_In_ HDC, _In_ int, _In_ int, _In_ int, _In_ int)
#define PALETTERGB(r, g, b)
int WINAPI FillRect(HDC, LPCRECT, HBRUSH)
COLORREF WINAPI SetTextColor(_In_ HDC, _In_ COLORREF)
int WINAPI ReleaseDC(_In_opt_ HWND, _In_ HDC)
__analysis_noreturn void WINAPI PostQuitMessage(_In_ int)
BOOL WINAPI ValidateRect(_In_opt_ HWND, _In_opt_ LPCRECT)
BOOL WINAPI GetClientRect(_In_ HWND, _Out_ LPRECT)
HDC WINAPI GetDC(_In_opt_ HWND)
BOOL WINAPI GetUpdateRect(_In_ HWND, _Out_opt_ LPRECT, _In_ BOOL)
Referenced by WinMain().
◆ WinMain()
Definition at line 25 of file wm_paint.c.
27{
31
38
40 {
46
47 if (HWnd)
48 {
51
53 {
56 }
57 }
58 }
59 return 0;
60}
#define WS_OVERLAPPEDWINDOW
TW_UINT32 TW_UINT16 TW_UINT16 MSG
BOOL WINAPI TranslateMessage(_In_ const MSG *)
BOOL WINAPI ShowWindow(_In_ HWND, _In_ int)
BOOL WINAPI UpdateWindow(_In_ HWND)
const char * WndClassName
LRESULT CALLBACK MainWndProc(HWND HWnd, UINT Msg, WPARAM WParam, LPARAM LParam)
◆ WndClassName