25 TRACE(
"Null Window!\n");
32 ERR(
"GetDC failed\n");
52 ERR(
"Failed to get bitmap dimensions\n");
111 TRACE(
"Not the same caret window!\n");
120 ERR(
"Caret System Timer Proc has invalid window handle! %p Id: %u\n",
hwnd, idEvent);
126 TRACE(
"Windowless Caret Timer Running!\n" );
187 gpsi->dtCaretBlink = uMSeconds;
293 if ((
INT)
gpsi->dtCaretBlink > 0)
321 TRACE(
"Enter NtUserCreateCaret\n");
374 TRACE(
"Leave NtUserCreateCaret, ret=%i\n", Ret);
404 TRACE(
"Enter NtUserGetCaretPos\n");
417 TRACE(
"Leave NtUserGetCaretPos, ret=%i\n", Ret);
430 TRACE(
"Enter NtUserShowCaret\n");
445 TRACE(
"Leave NtUserShowCaret, ret=%i\n",
ret);
458 TRACE(
"Enter NtUserHideCaret\n");
473 TRACE(
"Leave NtUserHideCaret, ret=%i\n",
ret);
BOOL NTAPI GreGetBitmapDimension(_In_ HBITMAP hBitmap, _Out_ LPSIZE psizDim)
#define DBG_DEFAULT_CHANNEL(ch)
#define NT_SUCCESS(StatCode)
#define ERROR_ACCESS_DENIED
#define ValidateHwndNoErr(hwnd)
static void cleanup(void)
#define PsGetCurrentThread()
#define UserHMGetHandle(obj)
#define MmCopyToCaller(x, y, z)
unsigned __int3264 UINT_PTR
__kernel_entry W32KAPI HDC APIENTRY NtGdiCreateCompatibleDC(_In_opt_ HDC hdc)
__kernel_entry W32KAPI BOOL APIENTRY NtGdiRestoreDC(_In_ HDC hdc, _In_ INT iLevel)
__kernel_entry W32KAPI BOOL APIENTRY NtGdiBitBlt(_In_ HDC hdcDst, _In_ INT x, _In_ INT y, _In_ INT cx, _In_ INT cy, _In_opt_ HDC hdcSrc, _In_ INT xSrc, _In_ INT ySrc, _In_ DWORD rop4, _In_ DWORD crBackColor, _In_ FLONG fl)
__kernel_entry W32KAPI INT APIENTRY NtGdiSaveDC(_In_ HDC hdc)
__kernel_entry W32KAPI INT APIENTRY NtGdiIntersectClipRect(_In_ HDC hdc, _In_ INT xLeft, _In_ INT yTop, _In_ INT xRight, _In_ INT yBottom)
__kernel_entry W32KAPI HBITMAP APIENTRY NtGdiSelectBitmap(_In_ HDC hdc, _In_ HBITMAP hbm)
__kernel_entry W32KAPI BOOL APIENTRY NtGdiPatBlt(_In_ HDC hdcDest, _In_ INT x, _In_ INT y, _In_ INT cx, _In_ INT cy, _In_ DWORD dwRop)
PVOID NTAPI PsGetCurrentThreadWin32Thread(VOID)
VOID FASTCALL UserLeave(VOID)
VOID FASTCALL UserEnterShared(VOID)
VOID FASTCALL UserEnterExclusive(VOID)
static __inline VOID UserDerefObjectCo(PVOID obj)
static __inline VOID UserRefObjectCo(PVOID obj, PUSER_REFERENCE_ENTRY UserReferenceEntry)
PULONG MinorVersion OPTIONAL
struct _USER_MESSAGE_QUEUE * MessageQueue
PWND FASTCALL UserGetWindowObject(HWND hWnd)
#define ASSERT_REFS_CO(_obj_)
INT FASTCALL UserReleaseDC(PWND Window, HDC hDc, BOOL EndPaint)
HDC FASTCALL UserGetDCEx(PWND Window OPTIONAL, HANDLE ClipRegion, ULONG Flags)
VOID FASTCALL SetLastNtError(_In_ NTSTATUS Status)
BOOL NTAPI GreDeleteObject(HGDIOBJ hobj)
VOID CALLBACK CaretSystemTimerProc(HWND hwnd, UINT uMsg, UINT_PTR idEvent, DWORD dwTime)
VOID FASTCALL co_IntDrawCaret(PWND pWnd, PTHRDCARETINFO CaretInfo)
BOOL FASTCALL IntSetCaretBlinkTime(UINT uMSeconds)
BOOL FASTCALL co_UserHideCaret(PWND Window OPTIONAL)
BOOL FASTCALL co_IntSetCaretPos(int X, int Y)
static BOOL FASTCALL co_IntHideCaret(PTHRDCARETINFO CaretInfo)
BOOL APIENTRY NtUserCreateCaret(HWND hWnd, HBITMAP hBitmap, int nWidth, int nHeight)
BOOL APIENTRY NtUserHideCaret(HWND hWnd OPTIONAL)
BOOL APIENTRY NtUserShowCaret(HWND hWnd OPTIONAL)
UINT APIENTRY NtUserGetCaretBlinkTime(VOID)
BOOL FASTCALL co_UserShowCaret(PWND Window OPTIONAL)
BOOL APIENTRY NtUserGetCaretPos(LPPOINT lpPoint)
BOOL FASTCALL co_IntDestroyCaret(PTHREADINFO Win32Thread)
VOID FASTCALL IntNotifyWinEvent(DWORD Event, PWND pWnd, LONG idObject, LONG idChild, DWORD flags)
LONG NTAPI UserGetSystemMetrics(ULONG Index)
BOOL FASTCALL IntKillTimer(PWND Window, UINT_PTR IDEvent, BOOL SystemTimer)
UINT_PTR FASTCALL IntSetTimer(PWND Window, UINT_PTR IDEvent, UINT Elapse, TIMERPROC TimerFunc, INT Type)
VOID FASTCALL IntGetClientRect(PWND WindowObject, RECTL *Rect)
ENGAPI VOID APIENTRY EngSetLastError(_In_ ULONG iError)