115 DbgPrint(
"SetCaretPos() failed!\n");
120 DbgPrint(
"CreateCaret() for window 0x%x failed!\n",
hWnd);
128 DbgPrint(
"CreateCaret() for window 0x%x failed!\n",
hWnd);
136 DbgPrint(
"CreateCaret() for window 0x%x failed!\n",
hWnd);
139 DbgPrint(
"SetCaretPos(%i, %i) failed!\n", 1, 1);
144 DbgPrint(
"DestroyCaret() failed!\n");
int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpszCmdLine, int nCmdShow)
LRESULT WINAPI MainWndProc(HWND, UINT, WPARAM, LPARAM)
static HBITMAP CaretBitmap
_Check_return_opt_ _CRTIMP int __cdecl fprintf(_Inout_ FILE *_File, _In_z_ _Printf_format_string_ const char *_Format,...)
#define WS_OVERLAPPEDWINDOW
TW_UINT32 TW_UINT16 TW_UINT16 MSG
DWORD WINAPI GetLastError(void)
BOOL WINAPI ShowCaret(_In_opt_ HWND)
BOOL WINAPI TranslateMessage(_In_ const MSG *)
BOOL WINAPI ShowWindow(_In_ HWND, _In_ int)
__analysis_noreturn void WINAPI PostQuitMessage(_In_ int)
BOOL WINAPI GetCaretPos(_Out_ LPPOINT)
BOOL WINAPI SetCaretPos(_In_ int, _In_ int)
BOOL WINAPI CreateCaret(_In_ HWND, _In_opt_ HBITMAP, _In_ int, _In_ int)
BOOL WINAPI DestroyCaret(void)
BOOL WINAPI HideCaret(_In_opt_ HWND)