#include "precomp.h"
Go to the source code of this file.
|
Definition at line 1167 of file focusact.c. References BOOL, CanForceForeground(), DWORD, FALSE, gppiLockSFW, NULL, PpiCurrent, and TRUE.
|
|
Definition at line 1056 of file focusact.c. References BOOL, FALSE, glinp, gppiInputProvider, gpqForeground, gptiForeground, IsTimeFromLastRITEvent(), NULL, tagTHREADINFO::ppi, tagLASTINPUT::ptiLastWoken, TRUE, UP, and W32PF_ALLOWSETFOREGROUND. Referenced by _LockSetForegroundWindow(), CheckAllowForeground(), NtUserSystemParametersInfo(), xxxAllowSetForegroundWindow(), xxxHardErrorControl(), xxxSendBSMtoDesktop(), and xxxSetForegroundWindow().
|
|
Definition at line 2416 of file focusact.c. References FNID_DESKTOP, GETFNID, NULL, and tagWND::spwndChild. Referenced by NextTopWindow().
|
|
Definition at line 1218 of file focusact.c. References DecSFWLockCount().
|
|
Definition at line 1761 of file focusact.c. References BOOL, FALSE, FRemoveForegroundActivate(), gpqForeground, grpdeskRitInput, IsForegroundLocked(), NULL, PtiCurrent, tagTHREADINFO::rpdesk, TestWF, TestwndChild, TRUE, and WEFNOACTIVATE. Referenced by xxxActivateWindow(), and xxxSetFocus().
|
|
Definition at line 365 of file focusact.c. References BOOL, NULL, TestWF, WFDISABLED, and WFVISIBLE. Referenced by xxxActivateWindow(), and xxxMenuWindowProc().
|
|
Definition at line 1717 of file focusact.c. References BOOL, ClearAppStarting(), tagTHREADINFO::ppi, TIF_ALLOWFOREGROUNDACTIVATE, and tagTHREADINFO::TIF_flags. Referenced by FAllowForegroundActivate(), and xxxSetForegroundWindow().
|
|
Definition at line 2300 of file focusact.c. References DF_DESKWNDDESTROYED, tagDESKTOP::dwDTFlags, NULL, tagDESKTOP::pDeskInfo, tagTHREADINFO::rpdesk, tagDESKTOPINFO::spwnd, tagWND::spwndChild, tagWND::spwndNext, and tagWND::spwndOwner. Referenced by NextTopWindow(), and NTW_GetNextTop().
|
|
Definition at line 2431 of file focusact.c. References BOOL, CheckTopLevelOnly(), FALSE, GNT_NextTopScan(), NTW_GetNextTop(), NTW_GetPrevTop(), NTW_IGNORETOOLWINDOW, NTW_PREVIOUS, NULL, PWNDDESKTOP, TestWF, TRUE, WEFNOACTIVATE, WEFTOOLWINDOW, WFDISABLED, and WFVISIBLE. Referenced by IsTopmostRealApp(), xxxActivateWindow(), xxxMenuWindowProc(), xxxNextWindow(), and xxxOldNextWindow().
|
|
Definition at line 2332 of file focusact.c. References GNT_NextTopScan(), NULL, and tagWND::spwndOwner. Referenced by NextTopWindow(), and NTW_GetPrevTop().
|
|
Definition at line 2382 of file focusact.c. References NTW_GetNextTop(), and NULL. Referenced by NextTopWindow().
|
|
Definition at line 1004 of file focusact.c. References BOOL, DelQEntry(), tagQMSG::dwQEvent, FALSE, tagQ::idSysPeek, tagQ::mlInput, NULL, tagQMSG::pqmsgPrev, tagMLIST::pqmsgWriteLast, and TRUE. Referenced by xxxActivateThisWindow(), and xxxSetForegroundWindow2().
|
|
Definition at line 2708 of file focusact.c. References NULL, tagTHREADINFO::ppi, SetForegroundPriorityProcess(), TIF_CSRSSTHREAD, tagTHREADINFO::TIF_flags, TIF_SYSTEMTHREAD, and VOID(). Referenced by CheckProcessForeground(), NtUserYieldTask(), SetForegroundThread(), SetWakeBit(), xxxCreateThreadInfo(), xxxInternalGetMessage(), and xxxMoveSize().
|
|
Definition at line 2648 of file focusact.c. References FALSE, gppiForegroundOld, gppiScreenSaver, NULL, _EPROCESS::PriorityClass, PsProcessPriorityBackground, PsProcessPriorityForeground, PsProcessPrioritySpinning, PsSetProcessPriorityByClass(), tagTHREADINFO::TIF_flags, TIF_GLOBALHOOKER, and VOID(). Referenced by IdleTimerProc(), SetForegroundPriority(), and xxxActivateThisWindow().
|
|
Definition at line 2588 of file focusact.c. References CBKEYSTATERECENTDOWN, ChangeForegroundKeyboardTable(), FALSE, gafAsyncKeyStateRecentDown, gpqForeground, gpsi, gptiForeground, gptiRit, NULL, tagTHREADINFO::ppi, tagTHREADINFO::pq, SetForegroundPriority(), tagTHREADINFO::spklActive, TRUE, and VOID(). Referenced by xxxDestroyThreadInfo(), xxxSendFocusMessages(), and xxxSetForegroundWindow2().
|
|
Definition at line 336 of file focusact.c. References BOOL, CheckLock, tagAAS::fActivating, tagAAS::fQueueNotify, GETPTI, tagAAS::ptiNotify, QueueNotifyMessage(), tagAAS::tidActDeact, TRUE, and xxxSendMessage(). Referenced by CancelInputState(), xxxActivateThisWindow(), and xxxDeactivate().
|
|
Definition at line 472 of file focusact.c. References ATW_ASYNC, ATW_MOUSE, ATW_NOZORDER, ATW_SETFOCUS, BOOL, BWL_ENUMLIST, CheckLock, ClrWF, dwFlags, DWORD, tagAAS::fActivating, FALSE, tagAAS::fQueueNotify, FWINABLE, GETPTI, GetTopLevelWindow(), glinp, gppiScreenSaver, gpqForeground, gpqForegroundPrev, grpdeskRitInput, tagWND::head, HMIsMarkDestroy, HW, HWq, IsHooked, IsVisible(), Lock, NtGetTickCount(), NULL, tagDESKTOP::pDeskInfo, tagTHREADINFO::pq, PtiCurrent, tagPROCESSINFO::ptiMainThread, tagAAS::ptiNotify, PUSIF_PALETTEDISPLAY, PWND_BROADCAST, PWND_TOP, PWNDDESKTOP, QEVENT_ACTIVATE, QEVENT_DEACTIVATE, QF_ACTIVATIONCHANGE, QF_EVENTDEACTIVATEREMOVED, tagQ::QF_flags, QF_FOCUSNULLSINCEACTIVE, RemoveEventMessage(), tagTHREADINFO::rpdesk, tagPROCESSINFO::rpdeskStartup, SetForegroundPriorityProcess(), SetWF, tagDESKTOPINFO::spwnd, tagQ::spwndActive, tagQ::spwndActivePrev, tagWND::spwndChild, tagQ::spwndFocus, tagWND::spwndLastActive, tagWND::spwndNext, tagWND::spwndOwner, TEST_PUSIF, TestWF, ThreadLockPti, ThreadLockWithPti, ThreadUnlock, ThreadUnlockPti, tagAAS::tidActDeact, TIDq, tagTHREADINFO::TIF_flags, TIF_INACTIVATEAPPMSG, tagLASTINPUT::timeLastInputMessage, TRUE, WEF_USEPWNDTHREAD, WFBEINGACTIVATED, WFCHILD, WFDESTROYED, WFFRAMEON, WFMINIMIZED, WFNONCPAINT, WFVISIBLE, WHF_CBT, WNDENUMPROC_PWND, xxxActivateApp(), xxxCallHook(), xxxInternalEnumWindow(), xxxMakeWindowForegroundWithState(), xxxSendFocusMessages(), xxxSendMessage(), xxxSendNotifyMessage(), xxxSetWindowPos(), xxxUpdateTray(), and xxxWindowEvent(). Referenced by xxxActivateWindow(), xxxActiveWindowTracking(), xxxMenuWindowProc(), xxxMNCloseHierarchy(), xxxMNEndMenuState(), xxxProcessEventMessage(), xxxSetFocus(), and xxxSetForegroundWindow2().
|
|
Definition at line 2060 of file focusact.c. References ATW_MOUSE, ATW_SETFOCUS, AW_SKIP, AW_SKIP2, AW_TRY, AW_TRY2, AW_USE, AW_USE2, BOOL, CheckLock, tagTHREADINFO::cVisWindows, DWORD, FAllowForegroundActivate(), FALSE, FBadWindow(), GETPTI, gpqForeground, gpqForegroundPrev, NextTopWindow(), NTW_IGNORETOOLWINDOW, NULL, tagTHREADINFO::pq, PtiCurrent, tagQ::spwndActivePrev, tagWND::spwndLastActive, tagWND::spwndOwner, TestWF, TestwndChild, TestwndPopup, ThreadLockAlwaysWithPti, ThreadUnlock, TIF_ALLOWFOREGROUNDACTIVATE, tagTHREADINFO::TIF_flags, TRUE, WFBOTTOMMOST, xxxActivateThisWindow(), and xxxSetForegroundWindow(). Referenced by xxxDestroyWindow(), xxxHandleNCMouseGuys(), xxxMenuWindowProc(), xxxMinMaximize(), xxxMouseActivate(), xxxSetActiveWindow(), xxxSetForegroundWindow(), xxxShowWindow(), and xxxSwpActivate().
|
|
Definition at line 1101 of file focusact.c. References BOOL, CanForceForeground(), DWORD, EnterCrit, FALSE, glinp, LeaveCrit, LockProcessByClientId(), NT_SUCCESS, NTSTATUS(), NULL, pep, PpiCurrent, PpiFromProcess, tagLASTINPUT::ptiLastWoken, tagPROCESSINFO::ptiList, Status, TRUE, and UnlockProcess.
|
|
Definition at line 2549 of file focusact.c. References tagQ::caret, CheckLock, NULL, tagTHREADINFO::pq, PtiCurrent, tagCARET::spwnd, tagQ::spwndFocus, tagWND::spwndParent, TestwndChild, ThreadLockWithPti, ThreadUnlock, xxxSetFocus(), and zzzDestroyCaret(). Referenced by xxxDW_SendDestroyMessages(), and xxxShowWindow().
|
|
Definition at line 34 of file focusact.c. References AAS, BOOL, BWL_ENUMLIST, ClrWF, tagAAS::fActivating, FALSE, tagAAS::fQueueNotify, GETPTI, IS_IME_ENABLED, Lock, NULL, tagDESKTOP::pDeskInfo, tagTHREADINFO::pq, PtiCurrent, tagAAS::ptiNotify, tagTHREADINFO::rpdesk, SetWakeBit(), tagDESKTOPINFO::spwnd, tagQ::spwndActive, tagQ::spwndActivePrev, tagQ::spwndCapture, tagWND::spwndChild, tagQ::spwndFocus, TestWF, ThreadLockAlwaysWithPti, ThreadLockPti, ThreadLockWithPti, ThreadUnlock, ThreadUnlockPti, tagAAS::tidActDeact, tagTHREADINFO::TIF_flags, TIF_INACTIVATEAPPMSG, TIF_INCLEANUP, TRUE, Unlock, WFFRAMEON, WFMINIMIZED, WNDENUMPROC_PWND, xxxActivateApp(), xxxFocusSetInputContext(), xxxInternalEnumWindow(), and xxxSendMessage(). Referenced by xxxProcessEventMessage(), and xxxSetForegroundWindow2().
|
|
Definition at line 220 of file focusact.c. References CheckLock, FALSE, FWINABLE, GETPTI, gpqForeground, HW, HWq, IS_IME_ENABLED, Lock, NULL, tagTHREADINFO::pq, tagQ::QF_flags, QF_FOCUSNULLSINCEACTIVE, SetForegroundThread(), tagQ::spwndActive, tagQ::spwndFocus, TestWF, ThreadLockWithPti, ThreadUnlock, TRUE, WFDESTROYED, xxxFocusSetInputContext(), xxxSendMessage(), and xxxWindowEvent(). Referenced by xxxActivateThisWindow(), and xxxSetFocus().
|
|
Definition at line 1990 of file focusact.c. References AW_USE, CheckLock, GETPTI, HW, NULL, tagTHREADINFO::pq, PtiCurrent, RevalidateHwnd, tagQ::spwndActive, TIF_16BIT, tagTHREADINFO::TIF_flags, and xxxActivateWindow(). Referenced by NtUserSetActiveWindow(), and xxxDWP_SetCursor().
|
|
Definition at line 1815 of file focusact.c. References CheckLock, FAllowForegroundActivate(), GETPTI, gLCIDSentToShell, gpqForeground, tagKL::hkl, HW, HWq, IsHooked, NULL, tagTHREADINFO::ppi, tagTHREADINFO::pq, PtiCurrent, RevalidateHwnd, SFW_SETFOCUS, tagTHREADINFO::spklActive, tagQ::spwndActive, tagQ::spwndFocus, tagWND::spwndParent, TestWF, TestwndChild, ThreadLockWithPti, ThreadUnlock, WFDISABLED, WFMINIMIZED, WFVISIBLE, WHF_CBT, WHF_SHELL, xxxActivateThisWindow(), xxxCallHook(), xxxSendFocusMessages(), and xxxSetForegroundWindow2(). Referenced by NtUserSetFocus(), xxxCheckFocus(), xxxDefWindowProc(), xxxDWP_ProcessVirtKey(), xxxEnableWindow(), xxxMinMaximize(), and xxxSBWndProc().
|
|
Definition at line 1235 of file focusact.c. References AW_USE, BOOL, CanForceForeground(), CheckLock, DSW_GetTopLevelCreatorWindow(), DWORD, FALSE, FRemoveForegroundActivate(), GETPTI, GetTopLevelWindow(), GiveUpForeground(), gppiInputProvider, gppiWantForegroundPriority, gpqForeground, HWq, IsForegroundLocked(), IsTrayWindow(), NULL, PostEventMessage(), tagTHREADINFO::ppi, tagTHREADINFO::pq, PtiCurrent, QEVENT_ACTIVATE, ThreadLockAlways, ThreadUnlock, TIF_ALLOWFOREGROUNDACTIVATE, TIF_CSRSSTHREAD, tagTHREADINFO::TIF_flags, TIF_SYSTEMTHREAD, TRUE, UP, xxxActivateWindow(), xxxFlashWindow(), and xxxSetForegroundWindow2(). Referenced by xxxActivateOnMinimize(), xxxActivateWindow(), xxxDefWindowProc(), xxxMenuWindowProc(), xxxOldNextWindow(), xxxStubSetForegroundWindow(), xxxSwitchToThisWindow(), and xxxSysCommand().
|
|
Definition at line 1342 of file focusact.c. References AllocQEntry(), ATW_SETFOCUS, BOOL, CheckLock, CMSHUNGAPPTIMEOUT, tagQ::cThreads, DWORD, FALSE, FHungApp(), GETPTI, gppiLockSFW, gppiWantForegroundPriority, gpqForeground, gpqForegroundPrev, gptiForeground, grpdeskRitInput, tagWND::head, HMIsMarkDestroy, HW, LockWindowUpdate2(), tagQ::mlInput, NULL, PEM_ACTIVATE_NOZORDER, PEM_ACTIVATE_RESTORE, tagTHREADINFO::pq, PtiCurrent, tagQ::ptiKeyboard, tagQ::ptiMouse, PWND_TOP, QEVENT_ACTIVATE, QEVENT_DEACTIVATE, QF_EVENTDEACTIVATEREMOVED, tagQ::QF_flags, RemoveEventMessage(), tagTHREADINFO::rpdesk, SetForegroundThread(), SetHungFlag(), SetWakeBit(), SFW_ACTIVATERESTORE, SFW_NOZORDER, SFW_SETFOCUS, SFW_STARTUP, SFW_SWITCH, tagQ::spwndActive, StoreQMessage(), StoreQMessagePti(), TestUP, ThreadLockAlwaysWithPti, ThreadLockPti, ThreadUnlock, ThreadUnlockPti, TID, TIDq, tagTHREADINFO::TIF_flags, TIF_INCLEANUP, TRUE, UINT, WFREDRAWFRAMEIFHUNG, xxxActivateThisWindow(), xxxCancelTracking(), xxxDeactivate(), xxxMakeWindowForegroundWithState(), xxxRedrawHungWindowFrame(), xxxSendMessage(), xxxSetWindowPos(), xxxUpdateTray(), zzzActiveCursorTracking(), and zzzClipCursor(). Referenced by xxxActiveWindowTracking(), xxxButtonEvent(), xxxDoHotKeyStuff(), xxxKeyEvent(), xxxMinMaximize(), xxxNextWindow(), xxxProcessEventMessage(), xxxSetFocus(), xxxSetForegroundWindow(), xxxSetThreadDesktop(), and xxxSwitchDesktop().
|
|
Definition at line 1230 of file focusact.c. References BOOL, TRUE, and xxxSetForegroundWindow().
|
|
Definition at line 374 of file focusact.c. References BOOL, CheckLock, FALSE, FCallHookTray, FDoTray, FHas31TrayStyles, FPostTray, FTopLevel, GETPTI, gpqForeground, tagWND::head, Is31TrayWindow(), IsTrayWindow(), NULL, tagWND::spwndLastActive, tagWND::spwndOwner, TestWF, ThreadLock, ThreadUnlock, TRUE, WEFTOOLWINDOW, WFVISIBLE, WFWIN40COMPAT, and xxxSetTrayWindow(). Referenced by xxxActivateThisWindow(), xxxProcessEventMessage(), and xxxSetForegroundWindow2().
|