#include "precomp.h"
Go to the source code of this file.
Defines | |
#define | TraceDdeMsg(m, h1, h2, c) |
#define | DebugValidateMLIST(pml) |
#define | DebugValidateMLISTandQMSG(pml, pqmsg) |
#define | QUERY_VALUE_BUFFER 80 |
#define | MODULESUFFIXSIZE (8*sizeof(WCHAR)) |
#define | MAXMODULENAMELEN (sizeof(szKey) - MODULESUFFIXSIZE) |
#define | NORMAL_PRIORITY_TASK 10 |
#define | QS_TEST_AND_CLEAR (QS_INPUT | QS_POSTMESSAGE | QS_TIMER | QS_PAINT | QS_SENDMESSAGE) |
#define | QS_TEST (QS_MOUSEBUTTON | QS_KEY) |
#define | INTERMEDIATE_TIMEOUT (500) |
Functions | |
VOID | DestroyProcessesObjects (PPROCESSINFO ppi) |
VOID | DestroyThreadsMessages (PQ pq, PTHREADINFO pti) |
void | CheckProcessForeground (PTHREADINFO pti) |
void | ScreenSaverCheck (PTHREADINFO pti) |
DWORD | xxxPollAndWaitForSingleObject (PKEVENT pEvent, PVOID pExecObject, DWORD dwMilliseconds) |
NTSTATUS | InitiateShutdown (PETHREAD Thread, PULONG lpdwFlags) |
NTSTATUS | EndShutdown (PETHREAD Thread, NTSTATUS StatusShutdown) |
void | SetVDMCursorBounds (LPRECT lprc) |
NTSTATUS | InitQEntryLookaside (VOID) |
void | SetAppStarting (PPROCESSINFO ppi) |
BOOL | xxxSetProcessInitState (PEPROCESS Process, DWORD dwFlags) |
BOOL | CheckAllowForeground (PEPROCESS pep) |
void | xxxUserNotifyConsoleApplication (PCONSOLE_PROCESS_INFO pcpi) |
void | UserSetConsoleProcessWindowStation (DWORD idProcess, HWINSTA hwinsta) |
BOOL | xxxUserNotifyProcessCreate (DWORD idProcess, DWORD idParentThread, ULONG_PTR dwData, DWORD dwFlags) |
void | zzzCalcStartCursorHide (PW32PROCESS pwp, DWORD timeAdd) |
BOOL | SetAppImeCompatFlags (PTHREADINFO pti, PUNICODE_STRING pstrModName, PUNICODE_STRING pstrBaseFileName) |
BOOL | SetAppCompatFlags (PTHREADINFO pti) |
DWORD | GetAppCompatFlags (PTHREADINFO pti) |
DWORD | GetAppCompatFlags2 (WORD wVer) |
DWORD | GetAppImeCompatFlags (PTHREADINFO pti) |
VOID | CheckAppStarting (PWND pwnd, UINT message, UINT_PTR nID, LPARAM lParam) |
void | ClearAppStarting (PPROCESSINFO ppi) |
NTSTATUS | zzzInitTask (UINT dwExpWinVer, DWORD dwAppCompatFlags, PUNICODE_STRING pstrModName, PUNICODE_STRING pstrBaseFileName, DWORD hTaskWow, DWORD dwHotkey, DWORD idTask, DWORD dwX, DWORD dwY, DWORD dwXSize, DWORD dwYSize) |
void | zzzShowStartGlass (DWORD dwTimeout) |
PQ | GetJournallingQueue (PTHREADINFO pti) |
void | ClearQueueServerEvent (WORD wWakeMask) |
ULONG | ParseReserved (WCHAR *pchReserved, WCHAR *pchFind) |
NTSTATUS | xxxCreateThreadInfo (PETHREAD pEThread, BOOL IsSystemThread) |
PQ | AllocQueue (PTHREADINFO ptiKeyState, PQ pq) |
VOID | FreeQueue (PQ pq) |
VOID | FreeCachedQueues (VOID) |
void | zzzDestroyQueue (PQ pq, PTHREADINFO pti) |
VOID | UserDeleteW32Thread (PW32THREAD pW32Thread) |
VOID | UserDeleteW32Process (PW32PROCESS pW32Process) |
__inline BOOL | FLastGuiThread (PTHREADINFO pti) |
VOID | xxxDestroyThreadInfo (VOID) |
void | CleanEventMessage (PQMSG pqmsg) |
VOID | FreeMessageList (PMLIST pml) |
NTSTATUS | InitQEntryLookaside () |
PQMSG | AllocQEntry (PMLIST pml) |
void | DelQEntry (PMLIST pml, PQMSG pqmsg) |
void | CheckRemoveHotkeyBit (PTHREADINFO pti, PMLIST pml) |
PQMSG | FindQMsg (PTHREADINFO pti, PMLIST pml, PWND pwndFilter, UINT msgMin, UINT msgMax, BOOL bProcessAck) |
BOOL | CheckQuitMessage (PTHREADINFO pti, LPMSG lpMsg, BOOL fRemoveMsg) |
BOOL | xxxReadPostMessage (PTHREADINFO pti, LPMSG lpMsg, PWND pwndFilter, UINT msgMin, UINT msgMax, BOOL fRemoveMsg) |
void | xxxProcessHungThreadEvent (PWND pwnd) |
VOID | xxxProcessEventMessage (PTHREADINFO ptiCurrent, PQMSG pqmsg) |
BOOL | _GetInputState (VOID) |
DWORD | _GetQueueStatus (UINT flags) |
DWORD | xxxMsgWaitForMultipleObjects (DWORD nCount, PVOID *apObjects, MSGWAITCALLBACK pfnNonMsg, PKWAIT_BLOCK WaitBlockArray) |
BOOL | xxxSleepThread (UINT fsWakeMask, DWORD Timeout, BOOL fInputIdle) |
VOID | SetWakeBit (PTHREADINFO pti, UINT wWakeBit) |
void | TransferWakeBit (PTHREADINFO pti, UINT message) |
VOID | ClearWakeBit (PTHREADINFO pti, UINT wWakeBit, BOOL fSysCheck) |
PTHREADINFO | PtiFromThreadId (DWORD dwThreadId) |
void | StoreMessage (LPMSG pmsg, PWND pwnd, UINT message, WPARAM wParam, LPARAM lParam, DWORD time) |
void | StoreQMessage (PQMSG pqmsg, PWND pwnd, UINT message, WPARAM wParam, LPARAM lParam, DWORD time, DWORD dwQEvent, ULONG_PTR dwExtraInfo) |
NTSTATUS | xxxInitProcessInfo (PW32PROCESS pwp) |
BOOL | DestroyProcessInfo (PW32PROCESS pwp) |
VOID | ClearWakeMask (VOID) |
HANDLE | xxxGetInputEvent (DWORD dwWakeMask) |
DWORD | xxxWaitForInputIdle (ULONG_PTR idProcess, DWORD dwMilliseconds, BOOL fSharedWow) |
DWORD | WaitOnPseudoEvent (HANDLE *phE, DWORD dwMilliseconds) |
NTSTATUS | xxxSetCsrssThreadDesktop (PDESKTOP pdesk, PDESKRESTOREDATA pdrdRestore) |
NTSTATUS | xxxRestoreCsrssThreadDesktop (PDESKRESTOREDATA pdrdRestore) |
ULONG | GetTaskName (PTHREADINFO pti, PWSTR Buffer, ULONG BufferLength) |
NTSTATUS | xxxQueryInformationThread (IN HANDLE hThread, IN USERTHREADINFOCLASS ThreadInfoClass, OUT PVOID ThreadInformation, IN ULONG ThreadInformationLength, OUT PULONG ReturnLength OPTIONAL) |
NTSTATUS | xxxSetInformationThread (IN HANDLE hThread, IN USERTHREADINFOCLASS ThreadInfoClass, IN PVOID ThreadInformation, IN ULONG ThreadInformationLength) |
NTSTATUS | SetInformationProcess (IN HANDLE hProcess, IN USERPROCESSINFOCLASS ProcessInfoClass, IN PVOID ProcessInformation, IN ULONG ProcessInformationLength) |
VOID | xxxSetConsoleCaretInfo (PCONSOLE_CARET_INFO pcci) |
NTSTATUS | xxxConsoleControl (IN CONSOLECONTROL ConsoleControl, IN PVOID ConsoleInformation, IN ULONG ConsoleInformationLength) |
Variables | |
PW32PROCESS | gpwpCalcFirst |
PPAGED_LOOKASIDE_LIST | QLookaside |
PPAGED_LOOKASIDE_LIST | QEntryLookaside |
PUNICODE_STRING | gpastrSetupExe |
int | giSetupExe |
BEEPPROC | pfnBP [] |
|
Definition at line 107 of file queue.c. Referenced by AllocQEntry(), AllocQueue(), DelQEntry(), DestroyThreadsMessages(), FindQMsg(), FreeMessageList(), and zzzDestroyQueue(). |
|
Definition at line 108 of file queue.c. Referenced by AllocQEntry(), and DelQEntry(). |
|
Definition at line 5463 of file queue.c. Referenced by xxxPollAndWaitForSingleObject(). |
|
Referenced by SetAppCompatFlags(). |
|
|
|
Referenced by zzzInitTask(). |
|
Definition at line 4204 of file queue.c. Referenced by _GetInputState(). |
|
Definition at line 4203 of file queue.c. Referenced by _GetInputState(). |
|
Definition at line 677 of file queue.c. Referenced by SetAppCompatFlags(), and SetAppImeCompatFlags(). |
|
|
|
Definition at line 4206 of file queue.c. References _GetQueueStatus(), BOOL, FALSE, QS_TEST, QS_TEST_AND_CLEAR, and TRUE. Referenced by NtUserGetThreadState().
|
|
Definition at line 4228 of file queue.c. References DWORD, tagCLIENTTHREADINFO::fsChangeBits, tagCLIENTTHREADINFO::fsWakeBits, tagCLIENTTHREADINFO::fsWakeBitsJournal, tagTHREADINFO::pcti, PtiCurrentShared, and UINT. Referenced by _GetInputState().
|
|
Definition at line 3208 of file queue.c. References tagMLIST::cMsgs, DebugValidateMLIST, DebugValidateMLISTandQMSG, ExAllocateFromPagedLookasideList(), gUserPostMessageLimit, NULL, tagQMSG::pqmsgNext, tagQMSG::pqmsgPrev, tagMLIST::pqmsgRead, tagMLIST::pqmsgWriteLast, and QEntryLookaside. Referenced by _PostMessage(), _PostThreadMessage(), DestroyProcessInfo(), DoTimer(), PostEventMessage(), PostInputMessage(), and xxxSetForegroundWindow2().
|
|
Definition at line 2102 of file queue.c. References tagQ::afKeyState, CBKEYSTATE, tagQ::cLockCount, DebugValidateMLIST, ExAllocateFromPagedLookasideList(), gafAsyncKeyState, GTERMF_MOUSE, tagQ::iCursorLevel, LockQCursor, tagQ::mlInput, NULL, tagTHREADINFO::pq, QLookaside, SYSCUR, TEST_GTERMF, and USHORT. Referenced by xxxCreateThreadInfo(), xxxHardErrorControl(), xxxSetThreadDesktop(), xxxSwitchDesktop(), zzzJournalAttach(), and zzzRecalcThreadAttachment().
|
|
Definition at line 222 of file queue.c. References BOOL, CanForceForeground(), tagWINDOWSTATION::dwWSF_Flags, EnterCrit, FALSE, GiveUpForeground(), HasForegroundActivateRight(), _EPROCESS::InheritedFromUniqueProcessId, IsShellProcess(), LeaveCrit, LockProcessByClientId(), luidSystem, NT_SUCCESS, NTSTATUS(), NULL, ObDereferenceObject, pep, PpiFromProcess, PsReferencePrimaryToken(), tagPROCESSINFO::ptiList, tagPROCESSINFO::rpwinsta, RtlEqualLuid(), SeQueryAuthenticationIdToken(), Status, TIF_ALLOWFOREGROUNDACTIVATE, tagTHREADINFO::TIF_flags, TRUE, UINT, UnlockProcess, W32PF_ALLOWSETFOREGROUND, and WSF_NOIO. Referenced by xxxInitProcessInfo(), and xxxUserNotifyConsoleApplication().
|
|
Definition at line 1059 of file queue.c. References CMSAPPSTARTINGTIMEOUT, ghCanActivateForegroundPIDs, gppiStarting, KeQuerySystemTime(), NULL, tagPROCESSINFO::ppiNext, and VOID(). Referenced by SetAppStarting().
|
|
Definition at line 155 of file ntuser/kernel/input.c. References _CLIENTINFO::cSpins, _CLIENTINFO::dwTIFlags, gppiWantForegroundPriority, NULL, tagTHREADINFO::pClientInfo, tagTHREADINFO::ppi, tagPROCESSINFO::ptiList, tagTHREADINFO::ptiSibling, SetForegroundPriority(), tagTHREADINFO::TIF_flags, TIF_SPINNING, and TRUE. Referenced by xxxGetInputEvent(), xxxMsgWaitForMultipleObjects(), xxxReadPostMessage(), xxxScanSysQueue(), and xxxSleepThread().
|
|
Definition at line 3466 of file queue.c. References BOOL, tagMLIST::cMsgs, tagTHREADINFO::cQuit, DWORD, tagTHREADINFO::exitCode, FALSE, tagTHREADINFO::mlPost, NULL, StoreMessage(), and TRUE. Referenced by xxxReadPostMessage().
|
|
Definition at line 3301 of file queue.c. References DWORD, tagCLIENTTHREADINFO::fsChangeBits, tagCLIENTTHREADINFO::fsWakeBits, tagQMSG::msg, NULL, tagTHREADINFO::pcti, tagQMSG::pqmsgNext, and tagMLIST::pqmsgRead. Referenced by FindQMsg(), and xxxReadPostMessage().
|
|
Definition at line 3068 of file queue.c. References DestroyNotify(), tagQMSG::dwQEvent, tagASYNCSENDMSG::lParam, tagQMSG::msg, PASYNCSENDMSG, PBYTE, QEVENT_ASYNCSENDMSG, QEVENT_NOTIFYWINEVENT, QEVENT_SETWINDOWPOS, QEVENT_UPDATEKEYSTATE, and UserDeleteAtom(). Referenced by DestroyThreadsMessages(), FreeMessageList(), RedistributeInput(), xxxProcessEventMessage(), and xxxScanSysQueue().
|
|
Definition at line 1131 of file queue.c. References gppiStarting, PROCESSINFO, and REMOVE_FROM_LIST. Referenced by DestroyProcessInfo(), FRemoveForegroundActivate(), and InitSystemThread().
|
|
Definition at line 1458 of file queue.c. References tagCLIENTTHREADINFO::fsWakeMask, KeClearEvent, tagTHREADINFO::pcti, tagTHREADINFO::pEventQueueServer, and PtiCurrent. Referenced by xxxGetInputEvent(), xxxMsgWaitForMultipleObjects(), xxxPollAndWaitForSingleObject(), and xxxSleepThread().
|
|
Definition at line 4700 of file queue.c. References tagMLIST::cMsgs, FJOURNALPLAYBACK, tagCLIENTTHREADINFO::fsWakeBits, tagQ::mlInput, tagTHREADINFO::pcti, tagTHREADINFO::pq, tagQ::QF_flags, QF_MOUSEMOVED, and VOID(). Referenced by xxxDesktopThread(), and xxxScanSysQueue().
|
|
Definition at line 5223 of file queue.c. References PtiCurrent, and VOID().
|
|
Definition at line 3253 of file queue.c. References tagMLIST::cMsgs, DebugValidateMLIST, DebugValidateMLISTandQMSG, ExFreeToPagedLookasideList(), NULL, tagQMSG::pqmsgNext, tagQMSG::pqmsgPrev, tagMLIST::pqmsgRead, tagMLIST::pqmsgWriteLast, and QEntryLookaside. Referenced by AdjustForCoalescing(), DestroyThreadsMessages(), FindQMsg(), FreeMessageList(), PostInputMessage(), RemoveEventMessage(), xxxReadPostMessage(), xxxScanSysQueue(), and xxxSkipSysMsg().
|
|
Definition at line 2511 of file handtabl.c. References tagSHAREDINFO::aheList, _HANDLEENTRY::bFlags, tagHANDLETYPEINFO::bObjectCreateFlags, BOOL, _HANDLEENTRY::bType, DBGValidateHandleQuota, FixupCursor(), gahti, giheLast, gpepCSRSS, gptiRit, gSharedInfo, HANDLEF_DESTROY, HMChangeOwnerPheProcess(), HMDestroyUnlockedObject(), ISTS, OCF_PROCESSOWNED, _HANDLEENTRY::phead, _HANDLEENTRY::pOwner, TYPE_CURSOR, TYPE_FREE, VOID(), and ZombieCursor(). Referenced by xxxDestroyThreadInfo().
|
|
Definition at line 4976 of file queue.c. References tagSHAREDINFO::aheList, AllocQEntry(), BEGINATOMICCHECK, _HANDLEENTRY::bFlags, BOOL, _HANDLEENTRY::bType, CheckCritIn, ClearAppStarting(), CLOSE_PSEUDO_EVENT, CloseProtectedHandle(), tagPROCESSINFO::cThreads, DeferWinEventNotify, DelayedDestroyCacheDC(), tagWINDOWSTATION::dwWSF_Flags, ENDATOMICCHECK, EndDeferWinEventNotifyWithoutProcessing, FALSE, gahti, GETPTI, giheLast, GiveForegroundActivateRight(), gppiForegroundOld, gppiInputProvider, gppiList, gppiLockSFW, gppiScreenSaver, gpPublicObjectList, gpwpiFirstWow, gSharedInfo, gspwndLogonNotify, HANDLEF_DESTROY, IsShellProcess(), tagTHREADINFO::mlPost, tagPUBOBJ::next, NT_SUCCESS, NULL, ObDereferenceObject, OCF_PROCESSOWNED, tagDESKTOP::pDeskInfo, tagDESKTOPVIEW::pdvNext, tagWOWPROCESSINFO::pEventWowExec, tagPUBOBJ::pid, _HANDLEENTRY::pOwner, tagDESKTOPINFO::ppiShellProcess, PPUBOBJ, REMOVE_FROM_LIST, tagPROCESSINFO::rpdeskStartup, tagPROCESSINFO::rpwinsta, SetWakeBit(), StoreQMessage(), UnlockDesktop, UnlockWinSta, USER_SOUND_CLOSE, WOWPROCESSINFO, WSF_OPENLOCK, and zzzCalcStartCursorHide(). Referenced by xxxUserProcessCallout().
|
|
Definition at line 3128 of file queue.c. References CheckPtiSysPeek, CleanEventMessage(), DebugValidateMLIST, DelQEntry(), tagQ::idSysPeek, tagQ::mlInput, NULL, tagQMSG::pqmsgNext, tagMLIST::pqmsgRead, tagQMSG::pti, and VOID(). Referenced by xxxDestroyThreadInfo().
|
|
Definition at line 324 of file kernel/exitwin.c. References _PostThreadMessage(), CLEAR_PUDF, tagWINDOWSTATION::dwWSF_Flags, EnterCrit, FALSE, ForceEmptyClipboard(), gdwLocks, gdwShutdownFlags, gdwThreadEndSession, GetProcessLuid(), gpidEndSession, gptiShutdownNotify, gpwinstaLogoff, LeaveCrit, tagWINDOWSTATION::luidUser, NotifyLogon(), NT_SUCCESS, NTSTATUS(), NULL, tagWINDOWSTATION::pGlobalAtomTable, tagDESKTOP::pheapDesktop, PUDF_FONTSARELOADED, tagWINDOWSTATION::rpdeskList, tagDESKTOP::rpdeskNext, RtlEmptyAtomTable(), RtlEqualLuid(), RtlZeroHeap(), TEST_PUDF, WSF_OPENLOCK, and WSF_SHUTDOWN. Referenced by xxxSetInformationThread().
|
|
Definition at line 3336 of file queue.c. References CheckMsgFilter, CheckPwndFilter(), CheckRemoveHotkeyBit(), DebugValidateMLIST, DelQEntry(), tagXSTATE::flags, FreeDdeXact(), HMValidateHandleNoRip(), tagQ::idSysLock, tagQMSG::msg, MSGFLAG_DDE_MID_THUNK, NULL, tagTHREADINFO::pq, tagQMSG::pqmsgNext, tagMLIST::pqmsgRead, tagQ::ptiSysLock, PtoH, PXSTATE, RevalidateHwnd, TYPE_DDEXACT, UINT, and XS_FREEPXS. Referenced by xxxFreeWindow(), and xxxReadPostMessage().
|
|
Definition at line 2521 of file queue.c. References BOOL, NULL, tagTHREADINFO::ppi, tagPROCESSINFO::ptiList, and tagTHREADINFO::ptiSibling. Referenced by xxxDestroyThreadInfo().
|
|
Definition at line 2193 of file queue.c. References ExDeletePagedLookasideList(), NULL, QLookaside, and VOID(). Referenced by Win32kNtUserCleanup().
|
|
Definition at line 3106 of file queue.c. References CleanEventMessage(), DebugValidateMLIST, DelQEntry(), NULL, tagMLIST::pqmsgRead, and VOID(). Referenced by xxxDestroyThreadInfo(), and zzzDestroyQueue().
|
|
Definition at line 2168 of file queue.c. References ExFreeToPagedLookasideList(), gpqCursor, gpqForeground, gpqForegroundPrev, tagQ::QF_flags, QF_INDESTROY, QLookaside, and VOID(). Referenced by RtlpDphFreeDelayedBlocksFromHeap(), RtlpDphTrimDelayedFreeQueue(), UserDeleteW32Thread(), Win32kNtUserCleanup(), and zzzDestroyQueue().
|
|
Definition at line 1014 of file queue.c. References ConnectIfNecessary, tagTHREADINFO::dwCompatFlags, DWORD, GetClientInfo, NULL, and PtiCurrentShared. Referenced by _GetWindow(), InternalInvalidate2(), LBGetScrollFlags(), xxxCalcValidRects(), xxxCreateWindowEx(), and xxxDoScrollMenu().
|
|
Definition at line 1033 of file queue.c. References ConnectIfNecessary, DWORD, GetAppCompatFlags2ForPti(), GETAPPVER, GetClientInfo, and PtiCurrentShared. Referenced by DispatchMessageWorker(), NtUserCreateWindowEx(), UnlinkConvFromOthers(), xxxCBShowListBoxWindow(), xxxDDETrackGetMessageHook(), xxxDDETrackWindowDying(), xxxDrawMenuBarUnderlines(), xxxDrawMenuItemText(), xxxInternalToUnicode(), xxxMenuBarDraw(), xxxMenuWindowProc(), xxxSetWindowStyle(), and zzzHideCursorNoCapture().
|
|
Definition at line 1039 of file queue.c. References tagPROCESSINFO::dwImeCompatFlags, DWORD, NULL, tagTHREADINFO::ppi, and PtiCurrentShared. Referenced by NlsKbdSendIMEProc(), xxxButtonEvent(), xxxImmProcessKey(), and xxxScanSysQueue().
|
|
Definition at line 1416 of file queue.c. References GETPTI, IsHooked, NULL, PhkFirstGlobalValid(), tagTHREADINFO::rpdesk, TIF_DONTJOURNALATTACH, tagTHREADINFO::TIF_flags, and WHF_FROM_WH. Referenced by xxxCreateThreadInfo(), and zzzSetDesktop().
|
|
Definition at line 5857 of file queue.c. References Buffer, FALSE, min, NT_SUCCESS, NTSTATUS(), NULL, tagTHREADINFO::pstrAppName, RtlAnsiStringToUnicodeString(), RtlInitAnsiString(), SHORT, and Status. Referenced by xxxQueryInformationThread(), and xxxSendBSMtoDesktop().
|
|
Definition at line 119 of file kernel/exitwin.c. References tagPROCESSINFO::amwinsta, _ETHREAD::Cid, tagTHREADINFO::cWindows, dwFlags, DWORD, tagWINDOWSTATION::dwWSF_Flags, gdwLocks, gdwShutdownFlags, gdwThreadEndSession, GetProcessLuid(), gpidEndSession, gpidLogon, gptiShutdownNotify, gpwinstaLogoff, tagPROCESSINFO::hwinsta, IsPrivileged(), tagWINDOWSTATION::luidEndSession, luidSystem, NotifyLogon(), NT_SUCCESS, NTSTATUS(), NULL, OPTIONMASK, PpiFromProcess, PsGetCurrentThread, PtiFromThread, tagPROCESSINFO::rpwinsta, RtlAreAllAccessesGranted(), RtlEqualLuid(), Status, THREAD_TO_PROCESS, TIF_16BIT, tagTHREADINFO::TIF_flags, WSF_NOIO, WSF_OPENLOCK, WSF_REALSHUTDOWN, WSF_SHUTDOWN, and WSF_SWITCHLOCK. Referenced by xxxSetInformationThread().
|
|
Definition at line 3169 of file queue.c. References ExInitializePagedLookasideList(), NULL, PAGED_LOOKASIDE_LIST, QEntryLookaside, QLookaside, and SESSION_POOL_MASK. Referenced by Win32UserInitialize().
|
|
|
|
Definition at line 1474 of file queue.c. References NULL, RtlInitUnicodeString(), and RtlUnicodeStringToInteger(). Referenced by SetUpConsoleInfo(), and xxxCreateThreadInfo().
|
|
Definition at line 4737 of file queue.c. References FALSE, LockThreadByClientId(), NT_SUCCESS, NULL, PsIsThreadTerminating, PtiFromThread, tagTHREADINFO::TIF_flags, TIF_GUITHREADINITIALIZED, TIF_INCLEANUP, and UnlockThread. Referenced by _SetWinEventHook(), NtUserAttachThreadInput(), NtUserBuildHimcList(), NtUserBuildHwndList(), NtUserDisableThreadIme(), NtUserGetGUIThreadInfo(), NtUserGetThreadState(), NtUserPostThreadMessage(), NtUserSetWindowsHookEx(), UT_CaretSet(), xxxConsoleControl(), xxxDirectedYield(), xxxGetThreadDesktop(), and zzzAttachThreadInput().
|
|
|
|
Definition at line 814 of file queue.c. References BOOL, BYTE, tagTHREADINFO::dwCompatFlags, _CLIENTINFO::dwCompatFlags, tagTHREADINFO::dwCompatFlags2, _CLIENTINFO::dwCompatFlags2, dwFlags, DWORD, FALSE, FastGetProfileStringW(), FastGetProfileValue(), L, MAXMODULENAMELEN, NULL, tagTHREADINFO::pClientInfo, PMAP_COMPAT2, PMAP_COMPAT32, tagTHREADINFO::ppi, PpiCurrent, ProbeAndReadUnicodeString, ProbeForRead, ProbeForReadUnicodeStringBuffer, tagTHREADINFO::pstrAppName, tagPROCESSINFO::ptiList, tagTHREADINFO::ptiSibling, QUERY_VALUE_BUFFER, RtlImageNtHeader(), RtlInitUnicodeString(), RtlUnicodeStringToInteger(), SetAppImeCompatFlags(), TIF_16BIT, tagTHREADINFO::TIF_flags, TRUE, and USHORT. Referenced by xxxCreateThreadInfo().
|
|
Definition at line 702 of file queue.c. References BOOL, tagTHREADINFO::dwExpWinVer, tagPROCESSINFO::dwImeCompatFlags, DWORD, FALSE, FastGetProfileStringW(), giSetupExe, gpastrSetupExe, NULL, PMAP_IMECOMPAT, tagTHREADINFO::ppi, PpiCurrent, QUERY_VALUE_BUFFER, RtlCompareUnicodeString(), RtlInitUnicodeString(), RtlUnicodeStringToInteger(), TRUE, and VER31. Referenced by SetAppCompatFlags(), and zzzInitTask().
|
|
Definition at line 1094 of file queue.c. References CheckAppStarting(), CMSAPPSTARTINGTIMEOUT, CMSHUNGAPPTIMEOUT, gppiStarting, gptmrMaster, InternalSetTimer(), NULL, and tagPROCESSINFO::ppiNext. Referenced by xxxInitProcessInfo(), xxxUserNotifyConsoleApplication(), and zzzInitTask().
|
|
Definition at line 6357 of file queue.c. References DWORD, FALSE, ISCSRSS, NT_SUCCESS, NTSTATUS(), NULL, ObReferenceObjectByHandle(), PpiFromProcess, PsProcessType, Status, UnlockProcess, and UserMode. Referenced by NtUserSetInformationProcess().
|
|
Definition at line 351 of file ntuser/kernel/cursor.c. References CLEAR_PUDF, grcVDMCursorBounds, NULL, PUDF_VDMBOUNDSACTIVE, SET_PUDF, and VOID(). Referenced by xxxConsoleControl(), and xxxMakeWindowForegroundWithState().
|
|
Definition at line 4578 of file queue.c. References CheckCritIn, FALSE, tagCLIENTTHREADINFO::fsChangeBits, tagCLIENTTHREADINFO::fsWakeBits, tagCLIENTTHREADINFO::fsWakeMask, gpsi, gptSSCursor, KeSetEvent(), tagTDB::nEvents, tagTHREADINFO::pcti, tagTHREADINFO::pEventQueueServer, tagTHREADINFO::ppi, tagTHREADINFO::pq, tagTHREADINFO::ptdb, tagQ::ptiKeyboard, tagQ::ptiMouse, SetForegroundPriority(), TIF_16BIT, tagTHREADINFO::TIF_flags, TRUE, VOID(), and WakeWowTask(). Referenced by _PostMessage(), _PostThreadMessage(), _ReplyMessage(), DestroyProcessInfo(), DoTimer(), IncPaintCount(), IPostQuitMessage(), PostEventMessage(), PostUpdateKeyStateEvent(), ReceiverDied(), RedistributeInput(), TimersProc(), WakeSomeone(), xxxCancelTrackingForThread(), xxxDeactivate(), xxxInterSendMsgEx(), xxxProcessEventMessage(), xxxReceiveMessage(), xxxScanSysQueue(), xxxSetForegroundWindow2(), xxxSystemTimerProc(), zzzDestroyQueue(), and zzzSetFMouseMoved().
|
|
Definition at line 4799 of file queue.c. References CheckCritIn, gpsi, HW, and NtGetTickCount(). Referenced by CheckQuitMessage(), and DoPaint().
|
|
Definition at line 4831 of file queue.c. References CheckCritIn, tagQMSG::dwQEvent, tagQMSG::ExtraInfo, gpsi, HW, tagQMSG::msg, and NtGetTickCount(). Referenced by _PostMessage(), _PostThreadMessage(), DestroyProcessInfo(), DoTimer(), PostEventMessage(), PostInputMessage(), xxxCallJournalPlaybackHook(), and xxxSetForegroundWindow2().
|
|
Definition at line 4649 of file queue.c. References CalcWakeMask(), tagCLIENTTHREADINFO::fsChangeBits, tagCLIENTTHREADINFO::fsWakeBits, tagTHREADINFO::pcti, tagTHREADINFO::pq, tagQ::ptiKeyboard, tagQ::ptiMouse, and UINT. Referenced by xxxScanSysQueue().
|
|
Definition at line 2475 of file queue.c. References tagPROCESSINFO::bmHandleFlags, EnterHandleFlagsCrit(), LeaveHandleFlagsCrit(), NULL, RtlInitializeBitMap(), and VOID().
|
|
Definition at line 2385 of file queue.c. References tagTHREADINFO::apEvent, tagQ::cLockCount, tagQ::cThreads, FreeQueue(), NULL, ObDereferenceObject, tagTHREADINFO::pEventQueueServer, tagTHREADINFO::pq, tagTHREADINFO::pqAttach, tagTHREADINFO::pstrAppName, tagTHREADINFO::rpdesk, UnlockDesktop, and VOID().
|
|
Definition at line 404 of file queue.c. References EnterCrit, LeaveCrit, LockProcessByClientId(), NT_SUCCESS, NTSTATUS(), Status, UnlockProcess, and _EPROCESS::Win32WindowStation. Referenced by xxxConsoleControl().
|
|
Definition at line 5671 of file queue.c. References CheckCritIn, DWORD, ExEventObjectType, FALSE, KernelMode, NT_SUCCESS, NTSTATUS(), NULL, ObReferenceObjectByHandle(), PSEUDO_EVENT_OFF, PSEUDO_EVENT_ON, and Status. Referenced by xxxWaitForInputIdle().
|
|
Definition at line 6445 of file queue.c. References tagDESKTOP::dwConsoleIMEThreadId, tagDESKTOP::dwConsoleThreadId, DWORD, ExDesktopObjectType, FALSE, gatomConsoleClass, ISCSRSS, LogDesktop, NT_SUCCESS, NTSTATUS(), NULL, ObDereferenceObject, ObReferenceObjectByHandle(), PtiCurrent, PtiFromThreadId(), SetVDMCursorBounds(), Status, TIF_DONTATTACHQUEUE, tagTHREADINFO::TIF_flags, TRUE, UserMode, UserSetConsoleProcessWindowStation(), xxxbFullscreenSwitch(), xxxSetConsoleCaretInfo(), and xxxUserNotifyConsoleApplication(). Referenced by NtUserConsoleControl().
|
|
Definition at line 1501 of file queue.c. References AllocQueue(), ARRAY_SIZE, BEGINATOMICCHECK, BOOL, tagUSERSTARTUPINFO::cb, CheckCritIn, _CLIENTINFO::CI_flags, CI_REGISTERCLASSES, _ETHREAD::Cid, CLIENTINFO, ClientThreadSetup(), _CLIENTINFO::CodePage, tagKL::CodePage, CreateInputContext(), tagPROCESSINFO::cThreads, tagQ::cThreads, tagTHREADINFO::cti, DeferWinEventNotify, DF_DESTROYED, tagDESKTOP::dwDTFlags, tagTHREADINFO::dwExpWinVer, _CLIENTINFO::dwExpWinVer, tagUSERSTARTUPINFO::dwFlags, tagPROCESSINFO::dwHotkey, DWORD, _CLIENTINFO::dwTIFlags, tagUSERSTARTUPINFO::dwX, tagUSERSTARTUPINFO::dwXSize, tagUSERSTARTUPINFO::dwY, tagUSERSTARTUPINFO::dwYSize, ENDATOMICCHECK, EndDeferWinEventNotifyWithoutProcessing, EnterCrit, ExDesktopObjectType, ExEventObjectType, ExRaiseHardError(), FALSE, gbCleanedUpResources, gdwGuiThreads, GetJournallingQueue(), glinp, gpepCSRSS, gpidLogon, gppiScreenSaver, gpsi, gptiForeground, gptSSCursor, grpdeskRitInput, grpWinStaList, gspklBaseLayout, tagPROCESSINFO::hdeskStartup, tagTHREADINFO::hEventQueueClient, _CLIENTINFO::hKL, tagKL::hkl, tagPROCESSINFO::hMonitor, _EPROCESS::InheritedFromUniqueProcessId, IS_IME_ENABLED, IsWinEventNotifyDeferredOK, KernelMode, L, LeaveCrit, Lock, LockDesktop, LW_RegisterWindows(), NT_SUCCESS, NTSTATUS(), NULL, ObDereferenceObject, ObReferenceObjectByHandle(), ParseReserved(), tagTHREADINFO::pClientInfo, tagTHREADINFO::pcti, tagTHREADINFO::pDeskInfo, tagDESKTOP::pDeskInfo, _EPROCESS::Peb, tagTHREADINFO::pEventQueueServer, PlayEventSound(), tagTHREADINFO::ppi, PpiCurrent, tagTHREADINFO::pq, ProtectHandle(), tagQ::ptiKeyboard, tagLASTINPUT::ptiLastWoken, tagPROCESSINFO::ptiList, tagQ::ptiMouse, tagTHREADINFO::ptiSibling, PUSERSTARTUPINFO, tagTHREADINFO::rpdesk, tagPROCESSINFO::rpdeskStartup, tagPROCESSINFO::rpwinsta, RtlGetExpWinVer(), _EPROCESS::SectionBaseAddress, SET_TIME_LAST_READ, SetAppCompatFlags(), SetForegroundPriority(), tagTHREADINFO::spklActive, Status, SYSCUR, _ETHREAD::Tcb, ThreadLockDesktop, _ETHREAD::ThreadsProcess, ThreadUnlockDesktop, TIF_ALLOWFOREGROUNDACTIVATE, TIF_CSRSSTHREAD, TIF_DISABLEIME, TIF_DONTATTACHQUEUE, tagTHREADINFO::TIF_flags, TIF_GUITHREADINITIALIZED, TIF_RESTRICTED, TIF_SYSTEMTHREAD, TIF_WAITFORINPUTIDLE, TIF_WOW64, TRUE, _EPROCESS::UniqueProcessId, USER_SOUND_OPEN, UserMode, tagPROCESSINFO::usi, ValidateHmonitor(), ValidateProcessSessionId, VER40, _EPROCESS::Win32Process, _KTHREAD::Win32Thread, tagUSERSTARTUPINFO::wShowWindow, xxxDestroyThreadInfo(), xxxResolveDesktop(), xxxSetProcessWindowStation(), zzzCalcStartCursorHide(), and zzzSetDesktop(). Referenced by InitSystemThread(), UserInitialize(), and UserThreadCallout().
|
|
Definition at line 2552 of file queue.c. References _GetProcessWindowStation(), _PostMessage(), _WOWCleanup(), tagTHREADINFO::cEnterCount, CleanupResources(), tagQ::cLockCount, tagQ::cThreads, tagPROCESSINFO::cThreads, tagTHREADINFO::cti, DesktopFree, DestroyProcessesClasses(), DestroyProcessesObjects(), DestroyTask(), DestroyThreadsHotKeys(), DestroyThreadsMessages(), DestroyThreadsObjects(), DestroyThreadsTimers(), DTM_SETUPAPPRAN, tagMENUSTATE::dwLockCount, FALSE, tagPOPUPMENU::fDestroyed, tagMENUSTATE::fInsideMenuLoop, tagPOPUPMENU::fIsMenuBar, FLastGuiThread(), tagMENUSTATE::fModelessMenu, FreeHwndList(), FreeMessageList(), FreeThreadsWindowHooks(), FreeThreadsWinEvents(), FWINABLE, gbExitInProgress, gdwGuiThreads, GETDESKINFO, GETPTI, gHardErrorHandler, glinp, gpai, gpbwlList, gpdeskRecalcQueueAttach, gppiFullscreen, gptiBlockInput, gptiForeground, gptiShutdownNotify, gptiTasklist, gspwndInternalCapture, guiActivateShellWindow, tagTHREADINFO::hEventQueueClient, tagTDB::hTaskWow, tagQ::iCursorLevel, tagTHREADINFO::iCursorLevel, IsWinEventNotifyDeferredOK, KernelMode, KeSetKernelStackSwapEnable(), LockDesktop, MarkThreadsObjects(), tagTHREADINFO::mlPost, NULL, tagATTACHINFO::paiNext, PatchThreadWindows(), tagBWL::pbwlNext, tagTHREADINFO::pClientInfo, tagTHREADINFO::pcti, tagDESKTOP::pDeskInfo, tagMENUSTATE::pGlobalPopupMenu, tagTHREADINFO::pMenuState, tagMENUSTATE::pmnsPrev, tagTHREADINFO::pmsd, tagTHREADINFO::ppi, PpiCurrent, tagTHREADINFO::pq, tagTHREADINFO::pqAttach, ProtectHandle(), tagTHREADINFO::pSBTrack, tagTHREADINFO::psiiList, tagTHREADINFO::ptdb, tagHARDERRORHANDLER::pti, tagWINDOWSTATION::ptiClipLock, PtiCurrent, tagWINDOWSTATION::ptiDrawingClipboard, tagLASTINPUT::ptiLastWoken, tagTHREADINFO::PtiLink, tagPROCESSINFO::ptiList, tagPROCESSINFO::ptiMainThread, tagMENUSTATE::ptiMenuStateOwner, tagBWL::ptiOwner, tagTHREADINFO::ptiSibling, QF_CAPTURELOCKED, tagQ::QF_flags, tagTHREADINFO::rpdesk, SendMsgCleanup(), SetForegroundThread(), tagTHREADINFO::spDefaultImc, tagTHREADINFO::spklActive, _MOVESIZEDATA::spwnd, tagDESKTOPINFO::spwnd, tagDESKTOP::spwndMenu, tagPOPUPMENU::spwndNotify, tagDESKTOPINFO::spwndProgman, tagSBTRACK::spwndSB, tagSBTRACK::spwndSBNotify, tagDESKTOPINFO::spwndShell, tagSBTRACK::spwndTrack, ThreadLock, ThreadUnlock, TIF_16BIT, TIF_DONTATTACHQUEUE, tagTHREADINFO::TIF_flags, TIF_INCLEANUP, TIF_PALETTEAWARE, TIF_SYSTEMTHREAD, TRUE, Unlock, UnlockDesktop, VOID(), WEF_ASYNC, xxxCancelTrackingForThread(), xxxCloseClipboard(), xxxDestroyThreadDDEObject(), xxxEndMenuLoop(), xxxFlushPalette(), xxxMNCloseHierarchy(), xxxMNEndMenuState(), xxxUserChangeDisplaySettings(), xxxWindowEvent(), zzzDestroyQueue(), and zzzSetFMouseMoved(). Referenced by UserThreadCallout(), and xxxCreateThreadInfo().
|
|
Definition at line 5238 of file queue.c. References CheckForClientDeath, CheckProcessForeground(), ClearQueueServerEvent(), _CLIENTINFO::cSpins, FALSE, tagCLIENTTHREADINFO::fsWakeMask, GetInputBits(), gptiForeground, tagTHREADINFO::hEventQueueClient, IsHooked, IsWinEventNotifyDeferredOK, KeSetEvent(), tagTHREADINFO::pClientInfo, tagTHREADINFO::pcti, tagTHREADINFO::pEventQueueServer, tagTHREADINFO::ppi, PtiCurrent, tagPROCESSINFO::ptiMainThread, tagTHREADINFO::TIF_flags, TIF_SPINNING, WHF_FOREGROUNDIDLE, xxxCallHook(), and zzzWakeInputIdle().
|
|
Definition at line 4874 of file queue.c. References CheckAllowForeground(), CheckCritIn, gcSysExpunge, GetProcessLuid(), gppiList, NT_SUCCESS, NTSTATUS(), NULL, tagPROCESSINFO::ppiNextRunning, PUDF_ALLOWFOREGROUNDACTIVATE, SetAppStarting(), Status, TEST_PUDF, and xxxSetProcessInitState(). Referenced by xxxUserProcessCallout().
|
|
Definition at line 4271 of file queue.c. References apObjects, CheckForClientDeath, CheckProcessForeground(), ClearQueueServerEvent(), _CLIENTINFO::cSpins, DEVICE_TYPE_MOUSE, DWORD, EnterCrit, FALSE, tagCLIENTTHREADINFO::fsChangeBits, tagCLIENTTHREADINFO::fsWakeMask, gptiForeground, IsHooked, IsWinEventNotifyDeferredOK, KeWaitForMultipleObjects(), LeaveCrit, MSGWAITCALLBACK, NT_SUCCESS, NTSTATUS(), NULL, tagTHREADINFO::pClientInfo, tagTHREADINFO::pcti, tagTHREADINFO::pEventQueueServer, PtiCurrent, SleepInputIdle(), Status, tagTHREADINFO::TIF_flags, TIF_SPINNING, UserMode, WHF_FOREGROUNDIDLE, WrUserRequest, xxxCallHook(), and zzzWakeInputIdle(). Referenced by xxxDesktopThread().
|
|
Definition at line 5481 of file queue.c. References tagTHREADINFO::apEvent, ClearQueueServerEvent(), ClientDeliverUserApc(), ComputePastTickDelta(), DWORD, EnterCrit, FALSE, tagCLIENTTHREADINFO::fsChangeBits, HEVENT_REMOVEME, IEV_EXEC, IEV_IDLE, IEV_INPUT, INTERMEDIATE_TIMEOUT, KeWaitForMultipleObjects(), LeaveCrit, NT_SUCCESS, NtGetTickCount(), NTSTATUS(), NULL, tagTHREADINFO::pcti, tagTHREADINFO::pEventQueueServer, POLL_EVENT_CNT, PtiCurrent, Status, ThreadLockObject, ThreadUnlockObject, TIF_16BIT, tagTHREADINFO::TIF_flags, TRUE, UINT, UserMode, WrUserRequest, xxxDirectedYield(), xxxReceiveMessages, and xxxSleepTask(). Referenced by xxxWaitForInputIdle().
|
|
Definition at line 3772 of file queue.c. References _PostMessage(), ATW_ASYNC, ATW_NOZORDER, ATW_SETFOCUS, BOOL, CBKEYSTATE, CleanEventMessage(), DF_MOUSEMOVETRK, DF_TOOLTIP, DF_TOOLTIPACTIVE, DF_TOOLTIPSHOWING, DF_TRACKMOUSELEAVE, DoBeep(), tagDESKTOP::dwDTFlags, DWORD, tagQMSG::dwQEvent, GetMouseKeyFlags(), GETPTI, gpqForeground, tagDESKTOP::htEx, IsHooked, IsWinEventNotifyDeferredOK, LockWindowUpdate2(), tagQMSG::msg, NULL, PBYTE, PEM_ACTIVATE_NOZORDER, PEM_ACTIVATE_RESTORE, pfnBP, PostEventMessage(), PostShellHookMessages(), tagTHREADINFO::ppi, tagTHREADINFO::pq, ProcessUpdateKeyStateEvent(), PtiCurrent, PtoHq, PTOOLTIPWND, PWND_TOP, QEVENT_ACTIVATE, QEVENT_APPCOMMAND, QEVENT_ASYNCSENDMSG, QEVENT_CANCELMODE, QEVENT_CANCELMOUSEMOVETRK, QEVENT_DEACTIVATE, QEVENT_DESTROYWINDOW, QEVENT_HUNGTHREAD, QEVENT_NOTIFYWINEVENT, QEVENT_POSTMESSAGE, QEVENT_RITACCESSIBILITY, QEVENT_RITSOUND, QEVENT_SETWINDOWPOS, QEVENT_SHOWWINDOW, QEVENT_UPDATEKEYSTATE, RevalidateHwnd, RITSOUND_DOBEEP, RITSOUND_DOWNSIREN, RITSOUND_HIGHBEEP, RITSOUND_KEYCLICK, RITSOUND_LOWBEEP, RITSOUND_UPSIREN, tagTHREADINFO::rpdesk, SetWakeBit(), tagQ::spwndActive, tagQ::spwndCapture, tagQ::spwndFocus, tagDESKTOP::spwndTooltip, tagDESKTOP::spwndTrack, TestUP, TestWF, ThreadLockAlwaysWithPti, ThreadLockPoolCleanup, ThreadUnlock, ThreadUnlockPoolCleanup, TIF_ALLOWFOREGROUNDACTIVATE, tagTHREADINFO::TIF_flags, TRUE, UINT, VOID(), WEF_ASYNC, WEF_POSTED, WFCHILD, WFINDESTROY, WFMINIMIZED, WHF_SHELL, WPUpdateCheckPointSettings(), xxxActivateThisWindow(), xxxCallHook(), xxxCancelMouseMoveTracking(), xxxCancelTracking(), xxxDeactivate(), xxxDestroyWindow(), xxxFreeWindow(), xxxProcessAsyncSendMessage(), xxxProcessHungThreadEvent(), xxxProcessNotifyWinEvent(), xxxProcessSetWindowPosEvent(), xxxResetTooltip(), xxxSendMessage(), xxxSetForegroundWindow2(), xxxSetWindowPos(), xxxShowWindow(), xxxUpdateTray(), zzzActiveCursorTracking(), and zzzClipCursor(). Referenced by xxxScanSysQueue().
|
|
Definition at line 3736 of file queue.c. References CheckLock, MINMAX_KEEPHIDDEN, SetVisible(), SV_SET, TestWF, WFMINIMIZED, WFVISIBLE, and xxxMinMaximize(). Referenced by xxxProcessEventMessage().
|
|
Definition at line 5901 of file queue.c. References BOOL, _ETHREAD::Cid, tagTHREADINFO::cWindows, DWORD, tagWINDOWSTATION::dwWSF_Flags, FALSE, FHungApp(), GetTaskName(), gpidLogon, tagTDB::hTaskWow, HW, ISCSRSS, tagWOWPROCESSINFO::lpfnWowExitTask, NT_SUCCESS, NTSTATUS(), NULL, ObReferenceObjectByHandle(), tagDESKTOP::pDeskInfo, tagTHREADINFO::ppi, PsThreadType, tagTHREADINFO::ptdb, PtiCurrent, PtiFromThread, tagPROCESSINFO::pwpi, tagTHREADINFO::rpdesk, tagDESKTOP::rpwinstaParent, SHUTDOWN_KNOWN_PROCESS, SHUTDOWN_UNKNOWN_PROCESS, tagDESKTOPINFO::spwnd, Status, TIF_16BIT, tagTHREADINFO::TIF_flags, UnlockThread, UserMode, WMCS_NORETRY, WSF_NOIO, WSF_REALSHUTDOWN, xxxRestoreCsrssThreadDesktop(), xxxSetCsrssThreadDesktop(), and xxxSwitchDesktop(). Referenced by NtUserQueryInformationThread().
|
|
Definition at line 3499 of file queue.c. References BOOL, CheckMsgFilter, CheckProcessForeground(), CheckQuitMessage(), CheckRemoveHotkeyBit(), tagMLIST::cMsgs, tagTHREADINFO::cQuit, DelQEntry(), tagQMSG::ExtraInfo, tagQ::ExtraInfo, FALSE, FindQMsg(), tagCLIENTTHREADINFO::fsChangeBits, tagCLIENTTHREADINFO::fsWakeBits, tagTHREADINFO::idLast, tagTHREADINFO::mlPost, tagQMSG::msg, MSGFLAG_DDE_MID_THUNK, NULL, tagTHREADINFO::pcti, tagTHREADINFO::pq, tagMLIST::pqmsgRead, tagTHREADINFO::ptLast, tagTHREADINFO::TIF_flags, TIF_MSGPOSCHANGED, TIF_SPINNING, tagTHREADINFO::timeLast, TraceDdeMsg, TRUE, UINT, and xxxDDETrackGetMessageHook(). Referenced by xxxInternalGetMessage().
|
|
Definition at line 5804 of file queue.c. References CloseProtectedHandle(), FALSE, ISCSRSS, LogDesktop, msg, NT_SUCCESS, NTSTATUS(), NULL, ObDereferenceObject, PtiCurrent, tagTHREADINFO::rpdesk, Status, xxxDispatchMessage(), xxxPeekMessage, and xxxSetThreadDesktop(). Referenced by VideoPortCalloutThread(), xxxHardErrorControl(), xxxQueryInformationThread(), xxxSetInformationThread(), and xxxUserPowerEventCalloutWorker().
|
|
Definition at line 6419 of file queue.c. References FWINABLE, tagWND::head, ThreadLock, ThreadUnlock, ValidateHwnd, VOID(), WEF_ASYNC, and xxxWindowEvent(). Referenced by xxxConsoleControl().
|
|
Definition at line 5713 of file queue.c. References CloseProtectedHandle(), DF_DESTROYED, tagDESKTOP::dwDTFlags, ExDesktopObjectType, FALSE, ISCSRSS, KernelMode, LogDesktop, msg, NT_SUCCESS, NTSTATUS(), NULL, ObDereferenceObject, ObOpenObjectByPointer(), ObReferenceObjectByPointer(), PtiCurrent, tagTHREADINFO::rpdesk, Status, TRUE, xxxDispatchMessage(), xxxPeekMessage, and xxxSetThreadDesktop(). Referenced by VideoPortCalloutThread(), xxxHardErrorControl(), xxxQueryInformationThread(), xxxSetInformationThread(), and xxxUserPowerEventCalloutWorker().
|
|
Definition at line 6114 of file queue.c. References CsrApiPort, CsrPortHandle, DWORD, EndShutdown(), FALSE, gpepCSRSS, grpdeskRitInput, InitiateShutdown(), ISCSRSS, NT_SUCCESS, NTSTATUS(), NULL, ObDereferenceObject, ObReferenceObjectByHandle(), PsThreadType, PtiFromThread, tagTHREADINFO::rpdesk, SET_TIME_LAST_READ, Status, _ETHREAD::ThreadsProcess, tagTHREADINFO::TIF_flags, UnlockThread, UserMode, xxxRestoreCsrssThreadDesktop(), and xxxSetCsrssThreadDesktop(). Referenced by NtUserSetInformationThread().
|
|
Definition at line 120 of file queue.c. References BOOL, CheckCritIn, DeferWinEventNotify, dwFlags, EndDeferWinEventNotifyWithoutProcessing, FALSE, gpepCSRSS, IsWinEventNotifyDeferredOK, NT_SUCCESS, NTSTATUS(), NULL, PUDF_ALLOWFOREGROUNDACTIVATE, SET_PSEUDO_EVENT, SET_PUDF, Status, TRUE, _EPROCESS::Win32Process, and zzzCalcStartCursorHide(). Referenced by xxxInitProcessInfo(), xxxUserNotifyConsoleApplication(), and xxxUserNotifyProcessCreate().
|
|
Definition at line 4382 of file queue.c. References BOOL, CheckCritIn, CheckForClientDeath, CheckProcessForeground(), ClearQueueServerEvent(), ClientDeliverUserApc(), _CLIENTINFO::cSpins, tagPROCESSINFO::cSysExpunge, tagPROCESSINFO::dwhmodLibLoadedMask, EnterCrit, FALSE, tagPOWERSTATE::fCritical, tagCLIENTTHREADINFO::fsChangeBits, tagTHREADINFO::fsChangeBitsRemoved, tagCLIENTTHREADINFO::fsWakeBits, tagCLIENTTHREADINFO::fsWakeMask, gcSysExpunge, gdwSysExpungeMask, gPowerState, gptiForeground, IsHooked, IsWinEventNotifyDeferredOK, KeWaitForSingleObject(), LeaveCrit, NTSTATUS(), NULL, tagTHREADINFO::pClientInfo, tagTHREADINFO::pcti, tagPOWERSTATE::pEvent, tagTHREADINFO::pEventQueueServer, tagTHREADINFO::ppi, PtiCurrent, SET_TIME_LAST_READ, SleepInputIdle(), TIF_16BIT, tagTHREADINFO::TIF_flags, TIF_SPINNING, TRUE, UserMode, WHF_FOREGROUNDIDLE, WrUserRequest, xxxCallHook(), xxxDoSysExpunge(), xxxReceiveMessages, xxxSleepTask(), and zzzWakeInputIdle(). Referenced by xxxbFullscreenSwitch(), xxxDefWindowProc(), xxxDragObject(), xxxInternalGetMessage(), xxxInterSendMsgEx(), xxxIsDragging(), xxxMNLoop(), xxxTrackCaptionButton(), and xxxWaitMessage().
|
|
Definition at line 341 of file queue.c. References BOOL, CheckAllowForeground(), EnterCrit, LeaveCrit, LockProcessByClientId(), NT_SUCCESS, NTSTATUS(), PpiCurrent, PpiFromProcess, PUDF_ALLOWFOREGROUNDACTIVATE, SET_PUDF, SetAppStarting(), Status, UnlockProcess, and xxxSetProcessInitState(). Referenced by xxxConsoleControl().
|
|
Definition at line 445 of file queue.c. References BOOL, CheckCritIn, _ETHREAD::Cid, dwFlags, EnterCrit, FALSE, GiveForegroundActivateRight(), gpwtiFirst, tagWOWTHREADINFO::idParentProcess, tagWOWTHREADINFO::idTask, tagWOWTHREADINFO::idWaitObject, INIT_PSEUDO_EVENT, LeaveCrit, LockProcessByClientId(), LockThreadByClientId(), NT_SUCCESS, NTSTATUS(), NULL, tagWOWTHREADINFO::pIdleEvent, PtiFromThread, tagWOWTHREADINFO::pwtiNext, RESET_PSEUDO_EVENT, Status, TIF_16BIT, TIF_ALLOWFOREGROUNDACTIVATE, tagTHREADINFO::TIF_flags, TRUE, UnlockProcess, UnlockThread, _EPROCESS::Win32Process, WOWTHREADINFO, and xxxSetProcessInitState(). Referenced by NtUserNotifyProcessCreate().
|
|
Definition at line 5310 of file queue.c. References CheckForClientDeath, DWORD, EnterCrit, _EPROCESS::ExitProcessCalled, gpwtiFirst, tagWOWTHREADINFO::idParentProcess, tagWOWTHREADINFO::idWaitObject, LeaveCrit, LockProcessByClientId(), NT_SUCCESS, NTSTATUS(), NULL, tagWOWTHREADINFO::pIdleEvent, tagTHREADINFO::ppi, PtiCurrent, tagPROCESSINFO::ptiList, tagPROCESSINFO::ptiMainThread, tagTHREADINFO::ptiSibling, tagWOWTHREADINFO::pwtiNext, Status, tagTHREADINFO::TIF_flags, TIF_SYSTEMTHREAD, TIF_WAITFORINPUTIDLE, UnlockProcess, WaitOnPseudoEvent(), _EPROCESS::Win32Process, and xxxPollAndWaitForSingleObject(). Referenced by NtUserWaitForInputIdle().
|
|
Definition at line 591 of file queue.c. References ComputeTickDelta(), DWORD, gpwpCalcFirst, gtimeStartCursorHide, NtGetTickCount(), NULL, and zzzUpdateCursorImage(). Referenced by DestroyProcessInfo(), xxxCreateThreadInfo(), xxxHungAppDemon(), xxxInternalGetMessage(), xxxSetProcessInitState(), zzzChangeStates(), zzzInitTask(), zzzShowStartGlass(), and zzzWakeInputIdle().
|
|
Definition at line 2211 of file queue.c. References BOOL, tagQ::caret, CheckSysLock, tagQ::cLockCount, tagQ::cThreads, DebugValidateMLIST, FALSE, FreeMessageList(), FreeQueue(), tagCLIENTTHREADINFO::fsWakeBits, gpqCursor, gpqForeground, gpqForegroundPrev, LockQCursor, tagQ::mlInput, NULL, tagTHREADINFO::pcti, tagTHREADINFO::pq, tagQ::ptiKeyboard, tagDESKTOP::PtiList, tagQ::ptiMouse, tagQ::ptiSysLock, tagQ::QF_flags, QF_INDESTROY, tagTHREADINFO::rpdesk, SetWakeBit(), tagCARET::spwnd, tagQ::spwndActive, tagQ::spwndActivePrev, tagQ::spwndFocus, tagTHREADINFO::TIF_flags, TIF_INCLEANUP, TRUE, Unlock, UnlockCaptureWindow(), USHORT, and zzzSetFMouseMoved(). Referenced by xxxDesktopThread(), xxxDestroyThreadInfo(), zzzAddAttachment(), zzzAttachToQueue(), and zzzReattachThreads().
|
|
Definition at line 1147 of file queue.c. References tagUSERSTARTUPINFO::cb, CW2_USEDEFAULT, DeferWinEventNotify, tagTHREADINFO::dwCompatFlags, _CLIENTINFO::dwCompatFlags, tagTHREADINFO::dwExpWinVer, _CLIENTINFO::dwExpWinVer, tagUSERSTARTUPINFO::dwFlags, tagPROCESSINFO::dwHotkey, DWORD, _CLIENTINFO::dwTIFlags, tagUSERSTARTUPINFO::dwX, tagUSERSTARTUPINFO::dwXSize, tagUSERSTARTUPINFO::dwY, tagUSERSTARTUPINFO::dwYSize, EnterWowCritSect(), FALSE, FJOURNALPLAYBACK, FJOURNALRECORD, gpwtiFirst, tagTDB::hTaskWow, tagWOWTHREADINFO::idTask, InsertTask(), tagTDB::nEvents, NORMAL_PRIORITY_TASK, tagTDB::nPriority, NTSTATUS(), NULL, tagTHREADINFO::pClientInfo, tagTHREADINFO::ppi, tagTHREADINFO::pstrAppName, tagTHREADINFO::ptdb, tagTDB::ptdbNext, tagTDB::pti, PtiCurrent, tagPROCESSINFO::ptiList, tagTDB::pwti, tagWOWTHREADINFO::pwtiNext, SetAppImeCompatFlags(), SetAppStarting(), TDB, tagTDB::TDB_Flags, TDBF_SETUP, TIF_16BIT, TIF_FIRSTIDLE, tagTHREADINFO::TIF_flags, TIF_SHAREDWOW, tagPROCESSINFO::usi, zzzCalcStartCursorHide(), zzzEndDeferWinEventNotify, zzzReattachThreads(), and zzzShowStartGlass(). Referenced by NtUserInitTask().
|
|
Definition at line 1382 of file queue.c. References PpiCurrent, PUDF_ALLOWFOREGROUNDACTIVATE, SET_PUDF, and zzzCalcStartCursorHide(). Referenced by zzzInitTask().
|
|
Definition at line 688 of file queue.c. Referenced by CreateSetupNameArray(), and SetAppImeCompatFlags(). |
|
|
|
Definition at line 31 of file queue.c. Referenced by zzzCalcStartCursorHide(). |
|
Initial value: Definition at line 3755 of file queue.c. Referenced by xxxProcessEventMessage(). |
|
Definition at line 44 of file queue.c. Referenced by AllocQEntry(), DelQEntry(), FreeQEntry(), InitQEntryLookaside(), and Win32kNtUserCleanup(). |
|
Definition at line 43 of file queue.c. Referenced by AllocQueue(), FreeCachedQueues(), FreeQueue(), and InitQEntryLookaside(). |