#include "precomp.h"
Go to the source code of this file.
Defines | |
#define | _TIMERS 1 |
#define | TIMERID_MAX 0x7FFF |
#define | TIMERID_MIN 0x100 |
#define | ELAPSED_MAX 0x7FFFFFFF |
#define | SYSRIT_TIMER (TMRF_SYSTEM | TMRF_RIT) |
Functions | |
UINT_PTR | _SetTimer (PWND pwnd, UINT_PTR nIDEvent, UINT dwElapse, TIMERPROC_PWND pTimerFunc) |
UINT_PTR | _SetSystemTimer (PWND pwnd, UINT_PTR nIDEvent, DWORD dwElapse, TIMERPROC_PWND pTimerFunc) |
VOID | FreeTimer (PTIMER ptmr) |
PTIMER | FindTimer (PWND pwnd, UINT_PTR nID, UINT flags, BOOL fKill) |
UINT_PTR | InternalSetTimer (PWND pwnd, UINT_PTR nIDEvent, UINT dwElapse, TIMERPROC_PWND pTimerFunc, UINT flags) |
BOOL | _KillTimer (PWND pwnd, UINT_PTR nIDEvent) |
BOOL | _KillSystemTimer (PWND pwnd, UINT_PTR nIDEvent) |
BOOL | KillTimer2 (PWND pwnd, UINT_PTR nIDEvent, BOOL fSystemTimer) |
VOID | DestroyThreadsTimers (PTHREADINFO pti) |
VOID | DestroyWindowsTimers (PWND pwnd) |
BOOL | DoTimer (PWND pwndFilter) |
VOID | DecTimerCount (PTHREADINFO pti) |
VOID | JournalTimer (PWND pwnd, UINT message, UINT_PTR nID, LPARAM lParam) |
void | SetJournalTimer (DWORD dt, UINT msgJournal) |
UINT_PTR | StartTimers (VOID) |
VOID | TimersProc (VOID) |
VOID | xxxSystemTimerProc (PWND pwnd, UINT msg, UINT_PTR id, LPARAM lParam) |
Variables | |
WORD | cTimerId = TIMERID_MAX |
|
|
|
Definition at line 30 of file timers.c. Referenced by InternalSetTimer(). |
|
Definition at line 32 of file timers.c. Referenced by FindTimer(). |
|
Definition at line 27 of file timers.c. Referenced by InternalSetTimer(). |
|
Definition at line 28 of file timers.c. Referenced by InternalSetTimer(). |
|
Definition at line 431 of file timers.c. References BOOL, KillTimer2(), and TRUE. Referenced by _SetCaretBlinkTime(), CaretBlinkProc(), DecrementRedirectedCount(), StopFade(), TrackMouseEvent(), xxxCancelMouseMoveTracking(), xxxEndScroll(), xxxFlashWindow(), xxxSystemTimerProc(), zzzInternalDestroyCaret(), and zzzSetCaretPos().
|
|
Definition at line 414 of file timers.c. References BOOL, FALSE, and KillTimer2(). Referenced by KillTooltipTimer(), MNAnimate(), NtUserKillTimer(), xxxMenuWindowProc(), xxxMNCloseHierarchy(), xxxMNDestroyHandler(), xxxMNDoScroll(), xxxMNOpenHierarchy(), xxxMNSelectItem(), and xxxTrackPopupMenuEx().
|
|
Definition at line 78 of file timers.c. References GETPTI, InternalSetTimer(), and PpiCurrent. Referenced by _SetCaretBlinkTime(), NtUserSetSystemTimer(), xxxContScroll(), xxxCreateCaret(), xxxTrackBox(), and zzzSetCaretPos().
|
|
Definition at line 45 of file timers.c. References GETPTI, InternalSetTimer(), and PpiCurrent. Referenced by MNSetTimerToAutoDismiss(), MNSetTimerToCloseHierarchy(), MNSetTimerToOpenHierarchy(), NtUserSetTimer(), xxxMenuWindowProc(), and xxxMNDoScroll().
|
|
Definition at line 644 of file timers.c. References CheckCritIn, tagTHREADINFO::cTimersReady, tagCLIENTTHREADINFO::fsWakeBits, tagTHREADINFO::pcti, and VOID(). Referenced by DoTimer(), FreeTimer(), and InternalSetTimer().
|
|
Definition at line 472 of file timers.c. References FreeTimer(), gptmrFirst, NULL, tagTIMER::pti, tagTIMER::ptiOptCreator, tagTIMER::ptmrNext, and VOID(). Referenced by xxxDestroyThreadInfo().
|
|
Definition at line 504 of file timers.c. References FreeTimer(), gptmrFirst, NULL, tagTIMER::ptmrNext, tagTIMER::spwnd, and VOID(). Referenced by xxxClientShutdown2(), and xxxFreeWindow().
|
|
Definition at line 538 of file timers.c. References AllocQEntry(), BOOL, CheckCritIn, CheckPwndFilter(), DecTimerCount(), FALSE, tagTIMER::flags, gptmrFirst, tagTHREADINFO::mlPost, tagTIMER::nID, NULL, tagTIMER::pfn, tagTIMER::pti, PtiCurrent, tagTIMER::ptmrNext, tagTIMER::ptmrPrev, SetWakeBit(), tagTIMER::spwnd, StoreQMessage(), StoreQMessagePti(), TRUE, UINT, and WM_SYSTIMER. Referenced by xxxInternalGetMessage().
|
|
Definition at line 167 of file timers.c. References tagTIMER::flags, FreeTimer(), gptmrFirst, tagTIMER::nID, NULL, tagTIMER::ptmrNext, tagTIMER::spwnd, SYSRIT_TIMER, and TRUE. Referenced by InternalSetTimer(), KillTimer2(), and UserSetTimer().
|
|
Definition at line 112 of file timers.c. References CheckCritIn, DecTimerCount(), gptmrFirst, HMFreeObject(), HMMarkObjectDestroy(), tagTIMER::ptmrNext, tagTIMER::ptmrPrev, Unlock, and VOID(). Referenced by DestroyThreadsTimers(), DestroyWindowsTimers(), FindTimer(), InitiateWin32kCleanup(), and Win32kNtUserCleanup().
|
|
Definition at line 225 of file timers.c. References CheckCritIn, tagTIMER::cmsCountdown, tagTIMER::cmsRate, cTimerId, DecTimerCount(), ELAPSED_MAX, FALSE, FindTimer(), tagTIMER::flags, gbMasterTimerSet, GETPTI, gptiRit, gptmrFirst, gptmrMaster, HMAllocObject(), HMFreeObject(), KeSetTimer(), Lock, tagTIMER::nID, NULL, tagTIMER::pfn, tagTIMER::pti, tagTIMER::ptiOptCreator, tagTIMER::ptmrNext, tagTIMER::ptmrPrev, tagTIMER::spwnd, TIF_16BIT, tagTHREADINFO::TIF_flags, TIMER, TIMERID_MAX, TIMERID_MIN, TRUE, TYPE_TIMER, and UINT. Referenced by _SetSystemTimer(), _SetTimer(), _UserSoundSentryWorker(), AccessTimeOutReset(), FilterKeys(), FKActivationTimer(), IncrementRedirectedCount(), ProcessKeyboardInput(), ResetMouseHover(), SetAppStarting(), SetJournalTimer(), SetTooltipTimer(), SoundSentryTimer(), StartFade(), StartTimers(), ToggleKeys(), UserSetTimer(), xxxFKAcceptanceDelayTimer(), xxxFKRepeatRateTimer(), xxxFlashWindow(), xxxMKMouseMove(), xxxMKMoveAccelCursorTimer(), xxxTrackMouseMove(), zzzAnimateCursor(), and zzzUpdateCursorImage().
|
|
Definition at line 661 of file timers.c. References tagQ::msgJournal, NULL, tagTHREADINFO::pq, VOID(), and WakeSomeone(). Referenced by SetJournalTimer().
|
|
Definition at line 447 of file timers.c. References BOOL, FindTimer(), NULL, and TRUE. Referenced by _KillSystemTimer(), and _KillTimer().
|
|
Definition at line 693 of file timers.c. References dt(), InternalSetTimer(), JournalTimer(), NULL, and PtiCurrent. Referenced by xxxGetNextSysMsg().
|
|
Definition at line 722 of file timers.c. References InternalSetTimer(), NULL, and xxxHungAppDemon(). Referenced by RawInputThread().
|
|
Definition at line 746 of file timers.c. References tagTIMER::cmsCountdown, tagTIMER::cmsRate, ComputePastTickDelta(), tagTHREADINFO::cTimersReady, DWORD, EnterCrit, FALSE, tagTIMER::flags, gbMasterTimerSet, gcmsLastTimer, gdmsNextTimer, gptmrFirst, gptmrMaster, HMIsMarkDestroy, INT, KeSetTimer(), LeaveCrit, tagTIMER::nID, NtGetTickCount(), NULL, tagTIMER::pfn, tagTIMER::pti, tagTIMER::ptmrNext, SetWakeBit(), ThreadLock, ThreadUnlock, VOID(), and WM_SYSTIMER. Referenced by RawInputThread().
|
|
Definition at line 882 of file timers.c. References _KillSystemTimer(), _PostMessage(), AnimateFade(), CheckLock, tagDCE::DCX_flags, DF_TRACKMOUSEHOVER, tagDESKTOP::dwDTFlags, GetActiveTrackPwnd(), GetMouseKeyFlags(), GETPTI, gpDispInfo, gpsi, tagDESKTOP::htEx, HTEXMENUFIRST, HTEXMENULAST, HTEXSCROLLFIRST, HTEXSCROLLLAST, HWq, IDSYS_FADE, IDSYS_FLASHWND, IDSYS_LAYER, IDSYS_MOUSEHOVER, IDSYS_WNDTRACKING, msg, NULL, tagDISPLAYINFO::pdceFirst, tagDCE::pdceNext, tagTHREADINFO::pq, PtInRect(), QF_ACTIVEWNDTRACKING, tagQ::QF_flags, QF_MOUSEMOVED, tagWND::rcClient, tagDESKTOP::rcMouseHover, tagTHREADINFO::rpdesk, SetWakeBit(), tagDESKTOP::spwndTrack, TestUP, TestWF, UINT, UpdateLayeredSprite(), VOID(), and xxxFlashWindow(). Referenced by IncrementRedirectedCount(), ResetMouseHover(), StartFade(), xxxFlashWindow(), and xxxTrackMouseMove().
|
|
Definition at line 34 of file timers.c. Referenced by InternalSetTimer(). |