test: ntuser/kernel/globals.c File Reference

Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

# globals.c File Reference

`#include "precomp.h"`

Go to the source code of this file.

## Variables

DWORD | gdwPUDFlags = ACCF_FIRSTTICK | PUDF_BEEP | PUDF_ANIMATE
HBITMAP | ghbmWallpaper
HPALETTE | ghpalWallpaper
SIZERECT | gsrcWallpaper
UINT | gwWPStyle
HBITMAP | ghbmDesktop
LPWSTR | gpszWall
DWORD | gDrawVersionAlways = FALSE
BOOL | gfUnsignedDrivers
HRGN | ghrgnUpdateSave
int | gnUpdateSave
PWND | gspwndAltTab
PWND | gspwndShouldBeForeground
PWND | gspwndScreenCapture
PWND | gspwndInternalCapture
PWND | gspwndFullScreen
PMONITOR | gpMonitorCached
PWND | gspwndLogonNotify
PKEVENT | gpEventHungThread
PKEVENT | gpEventDiconnectDesktop
HANDLE | ghEventSwitchDesktop
PKEVENT | gpEventSwitchDesktop
PTHREADINFO | gptiTasklist
PTHREADINFO | gptiShutdownNotify
PTHREADINFO | gptiLockUpdate
PTHREADINFO | gptiForeground
PTHREADINFO | gptiBlockInput
PWOWTHREADINFO | gpwtiFirst
PWOWPROCESSINFO | gpwpiFirstWow
PQ | gpqForeground
PQ | gpqForegroundPrev
PQ | gpqCursor
FILTERKEYS | gFilterKeys
STICKYKEYS | gStickyKeys
MOUSEKEYS | gMouseKeys
ACCESSTIMEOUT | gAccessTimeOut
TOGGLEKEYS | gToggleKeys
SOUNDSENTRY | gSoundSentry
HIGHCONTRAST | gHighContrast
WCHAR | gHighContrastDefaultScheme [MAX_SCHEME_NAME_SIZE]
FADE | gfade
UINT_PTR | gtmridFKActivation
UINT_PTR | gtmridFKResponse
UINT_PTR | gtmridFKAcceptanceDelay
int | gFilterKeysState
KE | gFKKeyEvent
PKE | gpFKKeyEvent = &gFKKeyEvent
ULONG | gFKExtraInformation
int | gFKNextProcIndex
UINT_PTR | gtmridToggleKeys
ULONG | gTKExtraInformation
int | gTKNextProcIndex
UINT_PTR | gtmridAccessTimeOut
WORD | gwMKButtonState
WORD | gwMKCurrentButton = MOUSE_BUTTON_LEFT
UINT_PTR | gtmridMKMoveCursor
LONG | gMKDeltaX
LONG | gMKDeltaY
UINT | giMouseMoveTable
HWND | ghwndSoundSentry
UINT_PTR | gtmridSoundSentry
MOUSECURSOR | gMouseCursor
PKL | gspklBaseLayout
HKL | gLCIDSentToShell
DWORD | gSystemFS
KBDLANGTOGGLE | gLangToggle []
int | gLangToggleKeyState
BYTE | gfInNumpadHexInput
BOOL | gfEnableHexNumpad
BOOL | gbGraveKeyToggle
PKBDTABLES | gpKbdTbl = &KbdTablesFallback
BYTE | gSystemCPCharSet = ANSI_CHARSET
PKBDNLSTABLES | gpKbdNlsTbl
DWORD | gdwKeyboardAttributes
DWORD | gtimeStartCursorHide
RECT | grcCursorClip
ULONG_PTR | gdwMouseMoveExtraInfo
DWORD | gdwMouseMoveTimeStamp
LASTINPUT | glinp
POINT | gptCursorAsync
PPROCESSINFO | gppiInputProvider
PPROCESSINFO | gppiLockSFW
UINT | guSFWLockCount
PCURSOR | gpcurLogCurrent
PCURSOR | gpcurPhysCurrent
RECT | grcVDMCursorBounds
DWORD | gdwLastAniTick
UINT_PTR | gidCursorTimer
PWND | gspwndActivate
PWND | gspwndLockUpdate
PWND | gspwndMouseOwner
HWND | ghwndSwitch
UINT | gwMouseOwnerButton
BOOL | gbMouseButtonsRecentlySwapped
UINT | gdtMNDropDown = 400
int | gcountPWO
int | giwndStack
int | gnKeyboardSpeed = 15
int | giScreenSaveTimeOutMs
PBWL | gpbwlList
UINT | gdtDblClk = 500
UINT | gwinOldAppHackoMaticFlags
UINT | gcxMouseHover
UINT | gcyMouseHover
UINT | gdtMouseHover
CAPTIONCACHE | gcachedCaptions [CCACHEDCAPTIONS]
PATTACHINFO | gpai
PDESKTOP | gpdeskRecalcQueueAttach
PWND | gspwndCursor
PPROCESSINFO | gppiStarting
PPROCESSINFO | gppiList
PPROCESSINFO | gppiWantForegroundPriority
PPROCESSINFO | gppiForegroundOld
PW32JOB | gpJobsList
UINT_PTR | gtmridAniCursor
PHOTKEY | gphkFirst
int | gcHotKey
PHOTKEYSTRUCT | gpHotKeyList
int | gcHotKeyAlloc
PIMEHOTKEYOBJ | gpImeHotKeyListHeader = NULL
int | gMouseSpeed = 1
int | gMouseThresh1 = 6
int | gMouseThresh2 = 10
int | gMouseSensitivityFactor = 256
int | gMouseSensitivity = MOUSE_SENSITIVITY_DEFAULT
UINT | guDdeSendTimeout
INT | gnFastAltTabRows = 3
INT | gnFastAltTabColumns = 7
DWORD | gdwThreadEndSession
HBRUSH | ghbrHungApp
HBITMAP | ghbmBits
HBITMAP | ghbmCaption
int | gcxCaptionFontChar
int | gcyCaptionFontChar
HFONT | ghSmCaptionFont
int | gcxSmCaptionFontChar
int | gcySmCaptionFontChar
HFONT | ghMenuFont
HFONT | ghMenuFontDef
int | gcxMenuFontChar
int | gcyMenuFontChar
int | gcxMenuFontOverhang
int | gcyMenuFontExternLeading
int | gcyMenuFontAscent
int | gcyMenuScrollArrow
POPUPMENU | gpopupMenu
MENUSTATE | gMenuState
HFONT | ghStatusFont
HFONT | ghIconFont
SMWP | gSMWP
DWORD | gpdwCPUserPreferencesMask [SPI_BOOLMASKDWORDSIZE]
PROFILEVALUEINFO | gpviCPUserPreferences [1+SPI_DWORDRANGECOUNT]
DWORD | gdwSysExpungeMask
DWORD | gcSysExpunge
PCLS | gpclsList
PCURSOR | gpcurFirst
SYSCFGICO | gasyscur [COCR_CONFIGURABLE]
SYSCFGICO | gasysico [COIC_CONFIGURABLE]
PPROCESSINFO | gppiScreenSaver
POINT | gptSSCursor
PPROCESSINFO | gppiFullscreen
BYTE | gLastVkDown
BYTE | gBounceVk
BYTE | gPhysModifierState
BYTE | gCurrentModifierBit
BYTE | gPrevModifierState
BYTE | gLatchBits
BYTE | gLockBits
BYTE | gTKScanCode
BYTE | gMKPreviousVk
BYTE | gbMKMouseMode
PSCANCODEMAP | gpScancodeMap
BYTE | gStickyKeysLeftShiftCount
BYTE | gStickyKeysRightShiftCount
DWORD | gdwGTERMFlags
PTHREADINFO | gptiRit
PDESKTOP | grpdeskRitInput
PKEVENT | gpkeMouseData
BYTE | gbFullScreen = GDIFULLSCREEN
PDISPLAYINFO | gpDispInfo
int | gnDCECount
int | gnRedirectedCount
PVWPL | gpvwplHungRedraw
HRGN | ghrgnInvalidSum
HRGN | ghrgnVisNew
HRGN | ghrgnSWP1
HRGN | ghrgnValid
HRGN | ghrgnValidSum
HRGN | ghrgnInvalid
HRGN | ghrgnInv0
HRGN | ghrgnInv1
HRGN | ghrgnInv2
HDC | ghdcMem
HDC | ghdcMem2
HRGN | ghrgnGDC
HRGN | ghrgnSCR
HRGN | ghrgnSPB1
HRGN | ghrgnSPB2
HRGN | ghrgnSW
HRGN | ghrgnScrl1
HRGN | ghrgnScrl2
HRGN | ghrgnScrlVis
HRGN | ghrgnScrlSrc
HRGN | ghrgnScrlDst
HRGN | ghrgnScrlValid
PDEVICEINFO | gpDeviceInfoList
PERESOURCE | gpresDeviceInfoList
PDRIVER_OBJECT | gpWin32kDriverObject
DWORD | gnRetryReadInput
MOUSEEVENT | gMouseEventQueue [NELEM_BUTTONQUEUE]
DWORD | gdwMouseQueueHead
DWORD | gdwMouseEvents
PERESOURCE | gpresMouseEventQueue
int | gnMice
KEYBOARD_ATTRIBUTES | gKeyboardInfo
KEYBOARD_INPUT_DATA | gkei [MAXIMUM_ITEMS_READ]
KEYBOARD_INDICATOR_PARAMETERS | gklp
KEYBOARD_INDICATOR_PARAMETERS | gklpBootTime
KEYBOARD_TYPEMATIC_PARAMETERS | gktp
int | gnKeyboards
IO_STATUS_BLOCK | giosbKbdControl
KEYBOARD_IME_STATUS | gKbdImeStatus
BYTE | gafAsyncKeyState [CBKEYSTATE]
BYTE | gafAsyncKeyStateRecentDown [CBKEYSTATERECENTDOWN]
BYTE | gafRawKeyState [CBKEYSTATE]
BOOLEAN | gfKanaToggle
DWORD | gdwUpdateKeyboard
HARDERRORHANDLER | gHardErrorHandler
UINT | gfsSASModifiers
UINT | gfsSASModifiersDown
UINT | gvkSAS
DWORD | gdwIMEOpenStatus = 0xffffffff
DWORD | gdwIMEConversionStatus = 0xffffffff
HIMC | gHimcFocus = (HIMC)(INT_PTR)(INT)0xffffffff
BOOL | gfIMEShowStatus
MOUSEMOVEPOINT | gaptMouse [MAX_MOUSEPOINTS]
UINT | gptInd = 1
CONST ALWAYSZERO | gZero
PSMS | gpsmsList
TERMINAL | gTermIO
TERMINAL | gTermNOIO
PWINDOWSTATION | grpWinStaList
PDESKTOP | grpdeskLogon
HANDLE | CsrApiPort
CONST LUID | luidSystem = SYSTEM_LUID
PKBDFILE | gpkfList = NULL
PTHREADINFO | gptiCurrent = NULL
PTIMER | gptmrFirst
PKTIMER | gptmrMaster
INT | gdmsNextTimer
INT | gcmsLastTimer
BOOL | gbMasterTimerSet = FALSE
BOOL | gbDisableAlpha = FALSE
LONG | gUserProcessHandleQuota = INITIAL_USER_HANDLE_QUOTA
DWORD | gUserPostMessageLimit = INITIAL_POSTMESSAGE_LIMIT
PEVENTHOOK | gpWinEventHooks
PNOTIFY | gpPendingNotifies
PNOTIFY | gpLastPendingNotify
DWORD | gdwDeferWinEvent
int | gnllHooksTimeout = 300
CONST USHORT | ausMouseVKey []
PUSHORT | gpusMouseVKey = (PUSHORT) ausMouseVKey
USHORT | gNumLockVk = VK_NUMLOCK
USHORT | gOemScrollVk = VK_SCROLL
CONST WCHAR | szNull [2] = { TEXT('\0'), TEXT('\015') }
WCHAR | szWindowStationDirectory [MAX_SESSION_PATH]
CONST WCHAR | szOneChar [] = TEXT("0")
CONST WCHAR | szY [] = TEXT("Y")
CONST WCHAR | szy [] = TEXT("y")
CONST WCHAR | szN [] = TEXT("N")
HBRUSH | ghbrWhite
HBRUSH | ghbrBlack
HFONT | ghFontSys
HANDLE | hModuleWin
HANDLE | hModClient
LONG | TraceInitialization
DESKTOPINFO | diStatic
ULONG | gdwDesktopId = GW_DESKTOP_ID + 1
PERESOURCE | gpresUser
PFAST_MUTEX | gpHandleFlagsMutex
PROC | gpfnwp [ICLS_MAX]
ATOM | gatomConsoleClass
ATOM | gatomFirstPinned
ATOM | gatomLastPinned
ATOM | gatomMessage
ATOM | gaOleMainThreadWndClass
ATOM | gaFlashWState
ATOM | atomCheckpointProp
ATOM | atomDDETrack
ATOM | atomQOS
ATOM | atomDDEImp
ATOM | atomWndObj
ATOM | atomImeLevel
ATOM | atomLayer
UINT | guiOtherWindowCreated
UINT | guiOtherWindowDestroyed
UINT | guiActivateShellWindow
ATOM | atomUSER32
HANDLE | gpidLogon
PEPROCESS | gpepCSRSS
PEPROCESS | gpepInit
int | giLowPowerTimeOutMs
int | giPowerOffTimeOutMs
CONST GENERIC_MAPPING | KeyMapping = {KEY_READ, KEY_WRITE, KEY_EXECUTE, KEY_ALL_ACCESS}
CONST GENERIC_MAPPING | WinStaMapping
CONST GENERIC_MAPPING | DesktopMapping
PSERVERINFO | gpsi
SHAREDINFO | gSharedInfo
DWORD | giheLast
DWORD | gdwDesktopSectionSize
DWORD | gdwNOIOSectionSize
SECURITY_QUALITY_OF_SERVICE | gqosDefault
CONST COLORREF | gargbInitial [COLOR_MAX]
POWERSTATE | gPowerState
WCHAR | gszMIN [15]
WCHAR | gszMAX [15]
WCHAR | gszRESUP [20]
WCHAR | gszRESDOWN [20]
WCHAR | gszSCLOSE [15]
WCHAR | gszCAPTIONTOOLTIP [CAPTIONTOOLTIPLEN]
HANDLE | ghSectionShared
PVOID | gpvSharedBase
PWIN32HEAP | gpvSharedAlloc
BOOL | gbVideoInitialized
BOOL | gbNoMorePowerCallouts
BOOL | gbCleanedUpResources
WSINFO | gWinStationInfo
ULONG | gSessionId
BOOL | gbRemoteSession
PDESKTOP | gspdeskDisconnect
PDESKTOP | gspdeskShouldBeForeground
BOOL | gbDesktopLocked
BOOL | gbSecureDesktop = TRUE
HANDLE | ghRemoteVideoChannel
HANDLE | ghRemoteMouseChannel
HANDLE | ghRemoteBeepChannel
PVOID | gpRemoteBeepDevice
HANDLE | ghRemoteKeyboardChannel
HANDLE | ghRemoteThinwireChannel
CLIENTKEYBOARDTYPE | gRemoteClientKeyboardType
BOOL | gbExitInProgress
BOOL | gbFreezeScreenUpdates
ULONG | gSetLedReceived
BOOL | gbClientDoubleClickSupport
BOOL | gfEnableWindowsKey = TRUE
BOOL | gbDisconnectHardErrorAttach
PKEVENT | gpevtDesktopDestroyed
HDESK | ghDisconnectDesk
HWINSTA | ghDisconnectWinSta
ULONG | gnShadowers
BOOL | gbConnected
WCHAR | gstrBaseWinStationName [WINSTATIONNAME_LENGTH]
PFILE_OBJECT | gVideoFileObject
PFILE_OBJECT | gThinwireFileObject
PVOID | gpThinWireCache
PVOID | ghKbdTblBase
ULONG | guKbdTblSize
DWORD | gdwHydraHint
DWORD | gdwCanPaintDesktop
HANDLE | ghCanActivateForegroundPIDs [ACTIVATE_ARRAY_SIZE]
DWORD | gdwGuiThreads

## Variable Documentation

ATOM atomCheckpointProp

| Definition at line 774 of file ntuser/kernel/globals.c. Referenced by SetupClassAtoms().

ATOM atomDDEImp

| Definition at line 777 of file ntuser/kernel/globals.c. Referenced by SetupClassAtoms().

ATOM atomDDETrack

| Definition at line 775 of file ntuser/kernel/globals.c. Referenced by SetupClassAtoms().

ATOM atomImeLevel

| Definition at line 779 of file ntuser/kernel/globals.c. Referenced by SetupClassAtoms().

ATOM atomLayer

| Definition at line 781 of file ntuser/kernel/globals.c. Referenced by SetupClassAtoms().

ATOM atomQOS

| Definition at line 776 of file ntuser/kernel/globals.c. Referenced by SetupClassAtoms().

ATOM atomUSER32

| Definition at line 791 of file ntuser/kernel/globals.c. Referenced by Win32UserInitialize(), and zzzSetSystemImage().

ATOM atomWndObj

| Definition at line 778 of file ntuser/kernel/globals.c. Referenced by SetupClassAtoms().

CONST USHORT ausMouseVKey[]

| Definition at line 704 of file ntuser/kernel/globals.c. Referenced by MouseKeys().

HANDLE CsrApiPort

| Definition at line 655 of file ntuser/kernel/globals.c. Referenced by InitiateWin32kCleanup(), UserClientConnect(), Win32KDriverUnload(), xxxActivateDebugger(), and xxxSetInformationThread().

CONST GENERIC_MAPPING DesktopMapping

Initial value:

     {
        DESKTOP_READOBJECTS | DESKTOP_ENUMERATE | STANDARD_RIGHTS_READ,

        DESKTOP_WRITEOBJECTS | DESKTOP_CREATEWINDOW | DESKTOP_CREATEMENU |
            DESKTOP_HOOKCONTROL | DESKTOP_JOURNALRECORD |
            DESKTOP_JOURNALPLAYBACK | STANDARD_RIGHTS_WRITE,

        DESKTOP_SWITCHDESKTOP | STANDARD_RIGHTS_EXECUTE,

        DESKTOP_READOBJECTS | DESKTOP_WRITEOBJECTS | DESKTOP_ENUMERATE |
            DESKTOP_CREATEWINDOW | DESKTOP_CREATEMENU | DESKTOP_HOOKCONTROL |
            DESKTOP_JOURNALRECORD | DESKTOP_JOURNALPLAYBACK |
            DESKTOP_SWITCHDESKTOP | STANDARD_RIGHTS_REQUIRED
    }

Definition at line 823 of file ntuser/kernel/globals.c.

Referenced by _BuildNameList(), Win32UserInitialize(), xxxCreateDesktop2(), and xxxMouseEventDirect().

DESKTOPINFO diStatic

| Definition at line 747 of file ntuser/kernel/globals.c. Referenced by xxxDesktopThread(), and zzzSetDesktop().

ACCESSTIMEOUT gAccessTimeOut

| Definition at line 109 of file ntuser/kernel/globals.c. Referenced by AccessTimeOutReset(), ProcessKeyboardInput(), xxxSystemParametersInfo(), and xxxUpdatePerUserAccessPackSettings().

BYTE gafAsyncKeyState[CBKEYSTATE]

| Definition at line 576 of file ntuser/kernel/globals.c. Referenced by AllocQueue(), NtUserGetAsyncKeyState(), PostUpdateKeyStateEvent(), ProcessUpdateKeyStateEvent(), and xxxInternalActivateKeyboardLayout().

BYTE gafAsyncKeyStateRecentDown[CBKEYSTATERECENTDOWN]

| Definition at line 577 of file ntuser/kernel/globals.c. Referenced by NtUserGetAsyncKeyState(), and SetForegroundThread().

ATOM gaFlashWState

| Definition at line 773 of file ntuser/kernel/globals.c. Referenced by RemoveFlashWindowState(), and SetupClassAtoms().

BYTE gafRawKeyState[CBKEYSTATE]

| Definition at line 593 of file ntuser/kernel/globals.c. Referenced by KbdNlsFuncTypeAlt(), KbdNlsFuncTypeNormal(), ProcessKeyboardInput(), VKFromVSC(), xxxInternalActivateKeyboardLayout(), and xxxInternalKeyEventDirect().

ATOM gaOleMainThreadWndClass

| Definition at line 772 of file ntuser/kernel/globals.c. Referenced by SetupClassAtoms(), and xxxCreateWindowEx().

MOUSEMOVEPOINT gaptMouse[MAX_MOUSEPOINTS]

| Definition at line 622 of file ntuser/kernel/globals.c. Referenced by _GetMouseMovePointsEx(), and UpdateUserScreen().

CONST COLORREF gargbInitial[COLOR_MAX]

| Definition at line 869 of file ntuser/kernel/globals.c. Referenced by xxxODI_ColorInit().

SYSCFGICO gasyscur[COCR_CONFIGURABLE]

Initial value:

     {
        {OCR_NORMAL,      STR_CURSOR_ARROW      , NULL },
        {OCR_IBEAM,       STR_CURSOR_IBEAM      , NULL },
        {OCR_WAIT,        STR_CURSOR_WAIT       , NULL },
        {OCR_CROSS,       STR_CURSOR_CROSSHAIR  , NULL },
        {OCR_UP,          STR_CURSOR_UPARROW    , NULL },
        {OCR_SIZENWSE,    STR_CURSOR_SIZENWSE   , NULL },
        {OCR_SIZENESW,    STR_CURSOR_SIZENESW   , NULL },
        {OCR_SIZEWE,      STR_CURSOR_SIZEWE     , NULL },
        {OCR_SIZENS,      STR_CURSOR_SIZENS     , NULL },
        {OCR_SIZEALL,     STR_CURSOR_SIZEALL    , NULL },
        {OCR_NO,          STR_CURSOR_NO         , NULL },
        {OCR_APPSTARTING, STR_CURSOR_APPSTARTING, NULL },
        {OCR_HELP,        STR_CURSOR_HELP       , NULL },
        {OCR_NWPEN,       STR_CURSOR_NWPEN      , NULL },
        {OCR_HAND,        STR_CURSOR_HAND       , NULL },
        {OCR_ICON,        STR_CURSOR_ICON       , NULL },
    }

Definition at line 392 of file ntuser/kernel/globals.c.

Referenced by _LoadCursorsAndIcons(), UnloadCursorsAndIcons(), xxxUpdateSystemCursorsFromRegistry(), and zzzSetSystemCursor().

SYSCFGICO gasysico[COIC_CONFIGURABLE]

Initial value:

     {
        {OIC_SAMPLE,      STR_ICON_APPLICATION , NULL },
        {OIC_WARNING,     STR_ICON_HAND        , NULL },
        {OIC_QUES,        STR_ICON_QUESTION    , NULL },
        {OIC_ERROR,       STR_ICON_EXCLAMATION , NULL },
        {OIC_INFORMATION, STR_ICON_ASTERISK    , NULL },
        {OIC_WINLOGO,     STR_ICON_WINLOGO     , NULL },
    }

Definition at line 411 of file ntuser/kernel/globals.c.

Referenced by _LoadCursorsAndIcons(), UnloadCursorsAndIcons(), and xxxUpdateSystemIconsFromRegistry().

ATOM gatomConsoleClass

| Definition at line 767 of file ntuser/kernel/globals.c. Referenced by NtUserQueryWindow(), xxxCheckFullScreen(), xxxConsoleControl(), and xxxRedrawHungWindow().

ATOM gatomFirstPinned

| Definition at line 768 of file ntuser/kernel/globals.c. Referenced by UserDeleteAtom(), and Win32UserInitialize().

ATOM gatomLastPinned

| Definition at line 769 of file ntuser/kernel/globals.c. Referenced by SetupClassAtoms(), and UserDeleteAtom().

ATOM gatomMessage

| Definition at line 771 of file ntuser/kernel/globals.c. Referenced by SetupClassAtoms(), and xxxCreateDesktop().

BOOL gbCleanedUpResources

| Definition at line 927 of file ntuser/kernel/globals.c. Referenced by CleanupResources(), UserThreadCallout(), and xxxCreateThreadInfo().

BOOL gbClientDoubleClickSupport

| Definition at line 953 of file ntuser/kernel/globals.c. Referenced by RemoteConnect(), xxxDoButtonEvent(), xxxRemoteReconnect(), and xxxScanSysQueue().

BOOL gbConnected

| Definition at line 965 of file ntuser/kernel/globals.c. Referenced by InitiateWin32kCleanup(), NtUserRemoteRedrawScreen(), RemoteConnect(), RemoteConnectState(), RemotePassthruDisable(), RemoteShadowCleanup(), xxxCreateDisconnectDesktop(), xxxRemoteDisconnect(), xxxRemotePassthruEnable(), xxxRemoteReconnect(), and xxxRemoteShadowSetup().

BOOL gbDesktopLocked

| Definition at line 937 of file ntuser/kernel/globals.c. Referenced by NtUserOpenInputDesktop(), RemoteDisableScreen(), RemoteRedrawScreen(), xxxDesktopPaintCallback(), and xxxSwitchDesktop().

BOOL gbDisableAlpha = FALSE

| Definition at line 671 of file ntuser/kernel/globals.c. Referenced by EnforceColorDependentSettings(), and xxxSystemParametersInfo().

BOOL gbDisconnectHardErrorAttach

| Definition at line 956 of file ntuser/kernel/globals.c. Referenced by xxxHardErrorControl().

BOOL gbExitInProgress

| Definition at line 948 of file ntuser/kernel/globals.c. Referenced by HardErrorHandler(), InitiateWin32kCleanup(), RemoteConnectState(), RemoteMessageThread(), W32WinStationTerminate(), xxxDestroyThreadInfo(), and xxxInternalGetMessage().

BOOL gbFreezeScreenUpdates

| Definition at line 950 of file ntuser/kernel/globals.c. Referenced by RemoteRedrawScreen(), and xxxRemoteStopScreenUpdates().

BYTE gbFullScreen = GDIFULLSCREEN

| Definition at line 463 of file ntuser/kernel/globals.c. Referenced by FullScreenCleanup(), xxxbFullscreenSwitch(), xxxFlashWindow(), and xxxMakeWindowForegroundWithState().

BOOL gbGraveKeyToggle

| Definition at line 184 of file ntuser/kernel/globals.c. Referenced by GetKbdLangSwitch(), and xxxScanSysQueue().

BOOL gbMasterTimerSet = FALSE

| Definition at line 669 of file ntuser/kernel/globals.c. Referenced by InternalSetTimer(), and TimersProc().

BYTE gbMKMouseMode

| Definition at line 443 of file ntuser/kernel/globals.c. Referenced by MouseKeys(), xxxMKToggleMouseKeys(), xxxSystemParametersInfo(), and xxxUpdatePerUserAccessPackSettings().

BOOL gbMouseButtonsRecentlySwapped

| Definition at line 222 of file ntuser/kernel/globals.c. Referenced by _SwapMouseButton(), and xxxButtonEvent().

BOOL gbNoMorePowerCallouts

| Definition at line 925 of file ntuser/kernel/globals.c. Referenced by CleanupPowerRequestList(), QueuePowerRequest(), UserPowerEventCallout(), UserPowerStateCallout(), UserThreadCallout(), xxxUserPowerEventCalloutWorker(), and xxxUserPowerStateCalloutWorker().

BYTE gBounceVk

| Definition at line 435 of file ntuser/kernel/globals.c. Referenced by FilterKeys(), FKBounceKeyTimer(), and StopFilterKeysTimers().

BOOL gbRemoteSession

| Definition at line 932 of file ntuser/kernel/globals.c. Referenced by CaretBlinkProc(), DeviceCDROMNotify(), DeviceNotify(), FastGetProfileDwordW(), FastGetProfileStringW(), FastGetProfileValue(), InitCreateObjectDirectory(), InitializeMediaChange(), InitiateWin32kCleanup(), InitKeyboard(), InitLoadResources(), InitScancodeMap(), LoadCPUserPreferences(), NtUserInitialize(), OpenDevice(), ProcessDeviceChanges(), ProcessKeyboardInput(), ProcessMouseInput(), RawInputThread(), RemoteConnect(), RemoteConnectState(), RemoteOpenCacheKeyEx(), ResetSharedDesktops(), UpdateKeyLights(), UpdateMouseInfo(), UpdatePerUserKeyboardIndicators(), UserBeep(), UserInitialize(), UserThreadCallout(), xxxAnimateCaption(), xxxCreateDesktop(), xxxCreateDesktop2(), xxxCreateWindowStation(), xxxDesktopThread(), xxxLW_LoadFonts(), xxxMakeWindowForegroundWithState(), xxxRegisterForDeviceClassNotifications(), xxxResolveDesktop(), xxxSendMessageBSM(), and xxxUserChangeDisplaySettings().

BOOL gbSecureDesktop = TRUE

| Definition at line 938 of file ntuser/kernel/globals.c. Referenced by _UserTestForWinStaAccess(), Win32UserInitialize(), xxxResolveDesktop(), and xxxResolveDesktopForWOW().

BOOL gbVideoInitialized

| Definition at line 923 of file ntuser/kernel/globals.c. Referenced by RemoteConnect(), RemoteConnectState(), UserInitialize(), UserPowerEventCallout(), UserPowerStateCallout(), and UserThreadCallout().

CAPTIONCACHE gcachedCaptions[CCACHEDCAPTIONS]

| Definition at line 244 of file ntuser/kernel/globals.c. Referenced by _DestroyCursor(), CreateBitmapStrip(), and DrawCaptionIcon().

int gcHotKey

| Definition at line 268 of file ntuser/kernel/globals.c. Referenced by DWP_SetHotKey(), HotKeyHelper(), HotKeyToWindow(), and xxxScanSysQueue().

int gcHotKeyAlloc

| Definition at line 270 of file ntuser/kernel/globals.c. Referenced by DWP_SetHotKey().

INT gcmsLastTimer

| Definition at line 668 of file ntuser/kernel/globals.c. Referenced by TimersProc().

int gcountPWO

| Definition at line 226 of file ntuser/kernel/globals.c. Referenced by UserAssociateHwnd(), xxxFreeWindow(), zzzBltValidBits(), and zzzInvalidateDCCache().

DWORD gcSysExpunge

| Definition at line 383 of file ntuser/kernel/globals.c. Referenced by RemoveHmodDependency(), xxxDoSysExpunge(), xxxInitProcessInfo(), xxxInternalGetMessage(), and xxxSleepThread().

BYTE gCurrentModifierBit

| Definition at line 437 of file ntuser/kernel/globals.c. Referenced by ProcessKeyboardInput(), and xxxStickyKeys().

int gcxCaptionFontChar

| Definition at line 301 of file ntuser/kernel/globals.c. Referenced by InitSwitchWndInfo(), SetNCMetrics(), xxxInitSendValidateMinMaxInfo(), xxxPaintSwitchWindow(), and xxxSetNCFonts().

int gcxMenuFontChar

| Definition at line 309 of file ntuser/kernel/globals.c. Referenced by MNAnimate(), MNRecalcTabStrings(), xxxDrawMenuBarTemp(), xxxDrawMenuBarUnderlines(), xxxDrawMenuItem(), xxxMNCompute(), xxxMNItemSize(), xxxRealDrawMenuItem(), and xxxSetNCFonts().

int gcxMenuFontOverhang

| Definition at line 311 of file ntuser/kernel/globals.c. Referenced by xxxDrawItemUnderline(), xxxDrawMenuBarTemp(), and xxxSetNCFonts().

UINT gcxMouseHover

| Definition at line 240 of file ntuser/kernel/globals.c. Referenced by ResetMouseHover(), xxxSystemParametersInfo(), and xxxUpdatePerUserSystemParameters().

int gcxSmCaptionFontChar

| Definition at line 304 of file ntuser/kernel/globals.c. Referenced by xxxSetNCFonts().

int gcyCaptionFontChar

| Definition at line 302 of file ntuser/kernel/globals.c. Referenced by InitSwitchWndInfo(), xxxDrawCaptionTemp(), xxxPaintSwitchWindow(), xxxSetNCFonts(), and xxxSetWindowNCMetrics().

int gcyMenuFontAscent

| Definition at line 313 of file ntuser/kernel/globals.c. Referenced by xxxDrawItemUnderline(), xxxDrawMenuBarTemp(), and xxxSetNCFonts().

int gcyMenuFontChar

| Definition at line 310 of file ntuser/kernel/globals.c. Referenced by GetFrameControlMetrics(), MNAnimate(), xxxDrawMenuBarTemp(), xxxDrawMenuBarUnderlines(), xxxMNItemSize(), xxxRealDrawMenuItem(), xxxSetNCFonts(), and xxxSetWindowNCMetrics().

int gcyMenuFontExternLeading

| Definition at line 312 of file ntuser/kernel/globals.c. Referenced by GetFrameControlMetrics(), xxxDrawMenuBarTemp(), xxxDrawMenuBarUnderlines(), xxxMNItemSize(), xxxRealDrawMenuItem(), xxxSetNCFonts(), and xxxSetWindowNCMetrics().

int gcyMenuScrollArrow

| Definition at line 314 of file ntuser/kernel/globals.c. Referenced by GetFrameControlMetrics(), MNCheckScroll(), MNDrawArrow(), MNDrawFullNC(), MNEraseBackground(), xxxMenuWindowProc(), xxxMNPositionHierarchy(), and xxxSetNCFonts().

UINT gcyMouseHover

| Definition at line 241 of file ntuser/kernel/globals.c. Referenced by ResetMouseHover(), xxxSystemParametersInfo(), and xxxUpdatePerUserSystemParameters().

int gcySmCaptionFontChar

| Definition at line 305 of file ntuser/kernel/globals.c. Referenced by xxxDrawCaptionTemp(), xxxSetNCFonts(), and xxxSetWindowNCMetrics().

INT gdmsNextTimer

| Definition at line 668 of file ntuser/kernel/globals.c. Referenced by TimersProc().

DWORD gDrawVersionAlways = FALSE

| Definition at line 38 of file ntuser/kernel/globals.c. Referenced by DesktopBuildPaint(), Win32UserInitialize(), and xxxDesktopPaintCallback().

UINT gdtDblClk = 500

| Definition at line 233 of file ntuser/kernel/globals.c. Referenced by _SetDoubleClickTime(), NtUserGetDoubleClickTime(), and xxxScanSysQueue().

UINT gdtMNDropDown = 400

| Definition at line 224 of file ntuser/kernel/globals.c. Referenced by MNSetTimerToAutoDismiss(), MNSetTimerToCloseHierarchy(), MNSetTimerToOpenHierarchy(), xxxSystemParametersInfo(), and xxxUpdatePerUserSystemParameters().

UINT gdtMouseHover

| Definition at line 242 of file ntuser/kernel/globals.c. Referenced by TrackMouseEvent(), xxxSystemParametersInfo(), and xxxUpdatePerUserSystemParameters().

DWORD gdwCanPaintDesktop

| Definition at line 979 of file ntuser/kernel/globals.c. Referenced by xxxDesktopPaintCallback(), and xxxUpdatePerUserSystemParameters().

DWORD gdwDeferWinEvent

| Definition at line 693 of file ntuser/kernel/globals.c.

ULONG gdwDesktopId = GW_DESKTOP_ID + 1

| Definition at line 755 of file ntuser/kernel/globals.c. Referenced by xxxCreateDesktop2().

DWORD gdwDesktopSectionSize

| Definition at line 851 of file ntuser/kernel/globals.c. Referenced by InitCreateUserSubsystem(), Win32UserInitialize(), and xxxCreateDesktop2().

DWORD gdwGTERMFlags

| Definition at line 454 of file ntuser/kernel/globals.c.

DWORD gdwGuiThreads

| Definition at line 987 of file ntuser/kernel/globals.c. Referenced by xxxCreateThreadInfo(), and xxxDestroyThreadInfo().

DWORD gdwHydraHint

| Definition at line 977 of file ntuser/kernel/globals.c.

DWORD gdwIMEConversionStatus = 0xffffffff

| Definition at line 612 of file ntuser/kernel/globals.c. Referenced by xxxNotifyIMEStatus().

DWORD gdwIMEOpenStatus = 0xffffffff

| Definition at line 611 of file ntuser/kernel/globals.c. Referenced by NlsAlphanumericModeProc(), NlsConvOrNonConvProc(), NlsHiraganaModeProc(), NlsKatakanaModeProc(), and xxxNotifyIMEStatus().

DWORD gdwKeyboardAttributes

| Definition at line 192 of file ntuser/kernel/globals.c. Referenced by xxxInternalActivateKeyboardLayout(), xxxKELocaleProcs(), and xxxUpdatePerUserSystemParameters().

DWORD gdwLastAniTick

| Definition at line 213 of file ntuser/kernel/globals.c. Referenced by zzzAnimateCursor(), and zzzUpdateCursorImage().

DWORD gdwMouseEvents

| Definition at line 536 of file ntuser/kernel/globals.c. Referenced by QueueMouseEvent(), and UnqueueMouseEvent().

ULONG_PTR gdwMouseMoveExtraInfo

| Definition at line 196 of file ntuser/kernel/globals.c. Referenced by PostMove(), ProcessQueuedMouseEvents(), and zzzSetFMouseMoved().

DWORD gdwMouseMoveTimeStamp

| Definition at line 197 of file ntuser/kernel/globals.c. Referenced by PostMove(), and xxxMoveEventAbsolute().

DWORD gdwMouseQueueHead

| Definition at line 535 of file ntuser/kernel/globals.c. Referenced by QueueMouseEvent(), and UnqueueMouseEvent().

DWORD gdwNOIOSectionSize

| Definition at line 852 of file ntuser/kernel/globals.c. Referenced by InitCreateUserSubsystem(), and xxxCreateDesktop2().

DWORD gdwPUDFlags = ACCF_FIRSTTICK | PUDF_BEEP | PUDF_ANIMATE

| Definition at line 20 of file ntuser/kernel/globals.c.

DWORD gdwSysExpungeMask

| Definition at line 382 of file ntuser/kernel/globals.c. Referenced by RemoveHmodDependency(), xxxDoSysExpunge(), xxxInternalGetMessage(), and xxxSleepThread().

DWORD gdwThreadEndSession

| Definition at line 294 of file ntuser/kernel/globals.c. Referenced by _ExitWindowsEx(), EndShutdown(), InitiateShutdown(), and UserClientShutdown().

DWORD gdwUpdateKeyboard

| Definition at line 596 of file ntuser/kernel/globals.c. Referenced by RawInputThread(), SetKeyboardRate(), and UpdateKeyLights().

FADE gfade

| Definition at line 119 of file ntuser/kernel/globals.c. Referenced by AnimateFade(), CleanupGDI(), CreateFade(), DeleteFadeSprite(), ShowFade(), StartFade(), StopFade(), TestFadeFlags(), UpdateFade(), and xxxUserChangeDisplaySettings().

BOOL gfEnableHexNumpad

| Definition at line 179 of file ntuser/kernel/globals.c. Referenced by xxxInternalToUnicode(), xxxKeyEvent(), xxxScanSysQueue(), and xxxUpdatePerUserSystemParameters().

BOOL gfEnableWindowsKey = TRUE

| Definition at line 954 of file ntuser/kernel/globals.c. Referenced by ProcessKeyboardInput(), RemoteConnect(), and xxxRemoteReconnect().

FILTERKEYS gFilterKeys

| Definition at line 106 of file ntuser/kernel/globals.c. Referenced by FilterKeys(), FKActivationTimer(), xxxFKAcceptanceDelayTimer(), xxxFKRepeatRateTimer(), xxxMKMouseMove(), xxxSystemParametersInfo(), and xxxUpdatePerUserAccessPackSettings().

int gFilterKeysState

| Definition at line 127 of file ntuser/kernel/globals.c. Referenced by FilterKeys(), FKActivationTimer(), and ProcessMouseInput().

BOOL gfIMEShowStatus

| Definition at line 614 of file ntuser/kernel/globals.c. Referenced by _GetIMEShowStatus(), xxxBroadcastImeShowStatusChange(), xxxNotifyImeShowStatus(), xxxSetIMEShowStatus(), and xxxUpdatePerUserSystemParameters().

BYTE gfInNumpadHexInput

| Definition at line 178 of file ntuser/kernel/globals.c. Referenced by NumPadScanCodeToHex(), xxxDoHotKeyStuff(), xxxInternalToUnicode(), xxxKeyEvent(), xxxScanSysQueue(), and xxxTranslateAccelerator().

BOOLEAN gfKanaToggle

| Definition at line 594 of file ntuser/kernel/globals.c. Referenced by ChangeForegroundKeyboardTable(), and UpdatePerUserKeyboardIndicators().

ULONG gFKExtraInformation

| Definition at line 131 of file ntuser/kernel/globals.c. Referenced by FilterKeys(), xxxFKAcceptanceDelayTimer(), and xxxFKRepeatRateTimer().

KE gFKKeyEvent

| Definition at line 129 of file ntuser/kernel/globals.c.

int gFKNextProcIndex

| Definition at line 132 of file ntuser/kernel/globals.c. Referenced by FilterKeys(), xxxFKAcceptanceDelayTimer(), and xxxFKRepeatRateTimer().

UINT gfsSASModifiers

| Definition at line 604 of file ntuser/kernel/globals.c. Referenced by _RegisterHotKey(), and IsSAS().

UINT gfsSASModifiersDown

| Definition at line 605 of file ntuser/kernel/globals.c. Referenced by IsSAS(), and xxxKeyEvent().

BOOL gfUnsignedDrivers

| Definition at line 44 of file ntuser/kernel/globals.c. Referenced by GetVersionInfo(), Win32UserInitialize(), and xxxUpdatePerUserSystemParameters().

HARDERRORHANDLER gHardErrorHandler

| Definition at line 597 of file ntuser/kernel/globals.c. Referenced by GetTopMostInsertAfter(), Win32kNtUserCleanup(), xxxDestroyThreadInfo(), xxxHardErrorControl(), and xxxSwitchDesktop().

HBITMAP ghbmBits

| Definition at line 298 of file ntuser/kernel/globals.c. Referenced by CleanupGDI(), CreateBitmapStrip(), and CreateCompatiblePublicDC().

HBITMAP ghbmCaption

| Definition at line 299 of file ntuser/kernel/globals.c. Referenced by CleanupGDI(), CreateBitmapStrip(), xxxAnimateCaption(), and xxxResetDisplayDevice().

HBITMAP ghbmDesktop

| Definition at line 29 of file ntuser/kernel/globals.c. Referenced by RecolorDeskPattern(), and xxxSetDeskPattern().

HBITMAP ghbmWallpaper

| Definition at line 25 of file ntuser/kernel/globals.c. Referenced by CenterWallpaper(), CleanupGDI(), TileWallpaper(), xxxDesktopPaintCallback(), xxxDrawWallpaper(), xxxLoadDesktopWallpaper(), xxxResetDisplayDevice(), and xxxSetDeskWallpaper().

HBRUSH ghbrBlack

| Definition at line 731 of file ntuser/kernel/globals.c.

HBRUSH ghbrHungApp

| Definition at line 296 of file ntuser/kernel/globals.c. Referenced by CleanupGDI(), LW_BrushInit(), and xxxRedrawHungWindow().

HBRUSH ghbrWhite

| Definition at line 730 of file ntuser/kernel/globals.c.

HANDLE ghCanActivateForegroundPIDs[ACTIVATE_ARRAY_SIZE]

| Definition at line 984 of file ntuser/kernel/globals.c. Referenced by CheckAppStarting(), GiveForegroundActivateRight(), and HasForegroundActivateRight().

HDC ghdcMem

| Definition at line 493 of file ntuser/kernel/globals.c. Referenced by _DrawIconEx(), _InternalGetIconInfo(), _SetLayeredWindowAttributes(), CenterWallpaper(), CleanupGDI(), ConvertToDDB(), CreatePaletteFromBitmap(), CreateSpb(), DrawCaptionIcon(), InitUserScreen(), RecolorDeskPattern(), RecreateRedirectionBitmap(), RestoreSpb(), TileWallpaper(), UpdateLayeredSprite(), UT_InvertCaret(), xxxAnimateCaption(), and xxxExpandBitmap().

HDC ghdcMem2

| Definition at line 494 of file ntuser/kernel/globals.c. Referenced by _InternalGetIconInfo(), CleanupGDI(), ConvertToDDB(), DrawMenuItemCheckMark(), InitUserScreen(), RecolorDeskPattern(), RecreateRedirectionBitmap(), xxxExpandBitmap(), and xxxRealDrawMenuItem().

HDESK ghDisconnectDesk

| Definition at line 960 of file ntuser/kernel/globals.c. Referenced by InitiateWin32kCleanup(), and xxxCreateDisconnectDesktop().

HWINSTA ghDisconnectWinSta

| Definition at line 962 of file ntuser/kernel/globals.c. Referenced by InitiateWin32kCleanup(), and xxxCreateDisconnectDesktop().

HANDLE ghEventSwitchDesktop

| Definition at line 82 of file ntuser/kernel/globals.c. Referenced by xxxCreateWindowStation().

HFONT ghFontSys

| Definition at line 732 of file ntuser/kernel/globals.c.

HFONT ghIconFont

| Definition at line 327 of file ntuser/kernel/globals.c. Referenced by CleanupGDI(), SetIconFonts(), SPISetIconTitleFont(), and xxxSystemParametersInfo().

HIGHCONTRAST gHighContrast

| Definition at line 113 of file ntuser/kernel/globals.c. Referenced by xxxSystemParametersInfo(), and xxxUpdatePerUserAccessPackSettings().

WCHAR gHighContrastDefaultScheme[MAX_SCHEME_NAME_SIZE]

| Definition at line 114 of file ntuser/kernel/globals.c. Referenced by xxxSystemParametersInfo(), and xxxUpdatePerUserAccessPackSettings().

HIMC gHimcFocus = (HIMC)(INT_PTR)(INT)0xffffffff

| Definition at line 613 of file ntuser/kernel/globals.c. Referenced by xxxNotifyIMEStatus().

PVOID ghKbdTblBase

| Definition at line 974 of file ntuser/kernel/globals.c. Referenced by ChangeForegroundKeyboardTable(), and xxxRemotePassthruEnable().

HFONT ghMenuFont

| Definition at line 307 of file ntuser/kernel/globals.c. Referenced by CleanupGDI(), DesktopBuildPaint(), GetWindowNCMetrics(), MNSetupAnimationDC(), xxxDrawMenuBarTemp(), xxxDrawMenuBarUnderlines(), xxxHotTrackMenu(), xxxMenuDraw(), xxxMNCompute(), xxxMNInvertItem(), and xxxSetNCFonts().

HFONT ghMenuFontDef

| Definition at line 308 of file ntuser/kernel/globals.c. Referenced by CleanupGDI(), xxxDrawMenuItem(), xxxMNItemSize(), and xxxSetNCFonts().

HPALETTE ghpalWallpaper

| Definition at line 26 of file ntuser/kernel/globals.c. Referenced by CleanupGDI(), xxxDrawWallpaper(), xxxInternalPaintDesktop(), xxxLoadDesktopWallpaper(), xxxRealizeDesktop(), and xxxSetDeskWallpaper().

HANDLE ghRemoteBeepChannel

| Definition at line 942 of file ntuser/kernel/globals.c. Referenced by RemoteConnect().

HANDLE ghRemoteKeyboardChannel

| Definition at line 944 of file ntuser/kernel/globals.c. Referenced by InitScancodeMap(), OpenDevice(), RemoteConnect(), and xxxRemotePassthruEnable().

HANDLE ghRemoteMouseChannel

| Definition at line 941 of file ntuser/kernel/globals.c. Referenced by OpenDevice(), RemoteConnect(), and UpdateMouseInfo().

HANDLE ghRemoteThinwireChannel

| Definition at line 945 of file ntuser/kernel/globals.c. Referenced by InitiateWin32kCleanup(), RemoteConnect(), RemotePassthruDisable(), xxxRemoteDisconnect(), xxxRemotePassthruEnable(), and xxxRemoteReconnect().

HANDLE ghRemoteVideoChannel

| Definition at line 940 of file ntuser/kernel/globals.c. Referenced by RemoteConnect(), and xxxRemoteStopScreenUpdates().

HRGN ghrgnGDC

| Definition at line 499 of file ntuser/kernel/globals.c. Referenced by _GetDCEx(), CleanupGDI(), GetMonitorDC(), InitUserScreen(), and PreventInterMonitorBlts().

HRGN ghrgnInv0

| Definition at line 489 of file ntuser/kernel/globals.c. Referenced by CleanupGDI(), InitUserScreen(), and xxxRedrawWindow().

HRGN ghrgnInv1

| Definition at line 490 of file ntuser/kernel/globals.c. Referenced by _ExcludeUpdateRgn(), CleanupGDI(), InitUserScreen(), ValidateParents(), and xxxInternalInvalidate().

HRGN ghrgnInv2

| Definition at line 491 of file ntuser/kernel/globals.c. Referenced by CalcWindowVisRgn(), CleanupGDI(), GetNCUpdateRgn(), InitUserScreen(), InternalInvalidate2(), InternalInvalidate3(), PreventInterMonitorBlts(), SmartRectInRegion(), xxxGetUpdateRgn(), and xxxRedrawHungWindow().

HRGN ghrgnInvalid

| Definition at line 487 of file ntuser/kernel/globals.c. Referenced by CleanupGDI(), InitUserScreen(), and zzzBltValidBits().

HRGN ghrgnInvalidSum

| Definition at line 482 of file ntuser/kernel/globals.c. Referenced by CleanupGDI(), InitUserScreen(), and zzzBltValidBits().

HRGN ghrgnSCR

| Definition at line 504 of file ntuser/kernel/globals.c. Referenced by CleanupGDI(), InitUserScreen(), and SpbCheckRect2().

HRGN ghrgnScrl1

| Definition at line 512 of file ntuser/kernel/globals.c. Referenced by CleanupGDI(), InitUserScreen(), and InternalScrollDC().

HRGN ghrgnScrl2

| Definition at line 513 of file ntuser/kernel/globals.c. Referenced by CleanupGDI(), GetTrueClipRgn(), InitUserScreen(), and InternalScrollDC().

HRGN ghrgnScrlDst

| Definition at line 516 of file ntuser/kernel/globals.c. Referenced by CleanupGDI(), InitUserScreen(), and InternalScrollDC().

HRGN ghrgnScrlSrc

| Definition at line 515 of file ntuser/kernel/globals.c. Referenced by CleanupGDI(), InitUserScreen(), and InternalScrollDC().

HRGN ghrgnScrlValid

| Definition at line 517 of file ntuser/kernel/globals.c. Referenced by CleanupGDI(), InitUserScreen(), and InternalScrollDC().

HRGN ghrgnScrlVis

| Definition at line 514 of file ntuser/kernel/globals.c. Referenced by CleanupGDI(), InitUserScreen(), and InternalScrollDC().

HRGN ghrgnSPB1

| Definition at line 505 of file ntuser/kernel/globals.c. Referenced by CleanupGDI(), InitUserScreen(), LockWindowUpdate2(), and RestoreSpb().

HRGN ghrgnSPB2

| Definition at line 506 of file ntuser/kernel/globals.c. Referenced by CleanupGDI(), CreateSpb(), InitUserScreen(), RestoreSpb(), and SpbTransfer().

HRGN ghrgnSW

| Definition at line 511 of file ntuser/kernel/globals.c. Referenced by CleanupGDI(), InitUserScreen(), and xxxScrollWindowEx().

HRGN ghrgnSWP1

| Definition at line 484 of file ntuser/kernel/globals.c. Referenced by CleanupGDI(), InitUserScreen(), and zzzBltValidBits().

HRGN ghrgnUpdateSave

| Definition at line 49 of file ntuser/kernel/globals.c. Referenced by xxxBeginPaint(), xxxEndPaint(), and xxxMoveSize().

HRGN ghrgnValid

| Definition at line 485 of file ntuser/kernel/globals.c. Referenced by CleanupGDI(), InitUserScreen(), and zzzBltValidBits().

HRGN ghrgnValidSum

| Definition at line 486 of file ntuser/kernel/globals.c. Referenced by CleanupGDI(), InitUserScreen(), and zzzBltValidBits().

HRGN ghrgnVisNew

| Definition at line 483 of file ntuser/kernel/globals.c. Referenced by CleanupGDI(), InitUserScreen(), and zzzBltValidBits().

HANDLE ghSectionShared

| Definition at line 918 of file ntuser/kernel/globals.c. Referenced by HMGrowHandleTable(), HMInitHandleTable(), InitCreateSharedSection(), InitMapSharedSection(), UserCommitSharedMemory(), and Win32KDriverUnload().

HFONT ghSmCaptionFont

| Definition at line 303 of file ntuser/kernel/globals.c. Referenced by CleanupGDI(), GetWindowNCMetrics(), xxxDrawCaptionTemp(), and xxxSetNCFonts().

HFONT ghStatusFont

| Definition at line 326 of file ntuser/kernel/globals.c. Referenced by CleanupGDI(), GetTooltipDC(), GetWindowNCMetrics(), TooltipRender(), and xxxSetNCFonts().

HWND ghwndSoundSentry

| Definition at line 156 of file ntuser/kernel/globals.c. Referenced by _UserSoundSentryWorker(), and SoundSentryTimer().

HWND ghwndSwitch

| Definition at line 219 of file ntuser/kernel/globals.c. Referenced by _RegisterTasklist(), xxxArrangeIconicWindows(), xxxDestroyWindow(), xxxDoHotKeyStuff(), and xxxSysCommand().

UINT_PTR gidCursorTimer

| Definition at line 214 of file ntuser/kernel/globals.c. Referenced by zzzAnimateCursor().

DWORD giheLast

| Definition at line 849 of file ntuser/kernel/globals.c. Referenced by _QueryUserHandles(), _WOWCleanup(), _WOWModuleUnload(), AnticipatePost(), DestroyHandleTableObjects(), DestroyProcessesObjects(), DestroyProcessInfo(), DestroyThreadsObjects(), FreeDdeXact(), FreeDesktop(), HMAllocObject(), MarkThreadsObjects(), MenuRecalc(), PatchThreadWindows(), PopState(), UnlinkCursor(), and xxxUserProcessCallout().

int giLowPowerTimeOutMs

| Definition at line 797 of file ntuser/kernel/globals.c. Referenced by IdleTimerProc(), and xxxSystemParametersInfo().

UINT giMouseMoveTable

| Definition at line 154 of file ntuser/kernel/globals.c. Referenced by xxxMKMouseMove(), xxxMKMoveAccelCursorTimer(), and xxxMKMoveConstCursorTimer().

IO_STATUS_BLOCK giosbKbdControl

| Definition at line 564 of file ntuser/kernel/globals.c. Referenced by InitScancodeMap(), ProcessDeviceChanges(), RawInputThread(), and UpdateKeyLights().

int giPowerOffTimeOutMs

| Definition at line 798 of file ntuser/kernel/globals.c. Referenced by IdleTimerProc(), and xxxSystemParametersInfo().

int giScreenSaveTimeOutMs

| Definition at line 229 of file ntuser/kernel/globals.c. Referenced by IdleTimerProc(), and xxxSystemParametersInfo().

int giwndStack

| Definition at line 227 of file ntuser/kernel/globals.c.

KEYBOARD_IME_STATUS gKbdImeStatus

| Definition at line 569 of file ntuser/kernel/globals.c. Referenced by NlsKbdSendIMENotification(), and ProcessDeviceChanges().

KEYBOARD_INPUT_DATA gkei[MAXIMUM_ITEMS_READ]

| Definition at line 554 of file ntuser/kernel/globals.c.

KEYBOARD_ATTRIBUTES gKeyboardInfo

Initial value:

     {

        {4, 0},
        1,
        12,
        3,
        104,
        0,
        {0, 0, 0},
        {0, 0, 0},
    }

Definition at line 543 of file ntuser/kernel/globals.c.

Referenced by _GetKeyboardType(), LW_DriversInit(), ProcessDeviceChanges(), SetDebugHotKeys(), SetKeyboardRate(), and UpdateKeyLights().

KEYBOARD_INDICATOR_PARAMETERS gklp

| Definition at line 555 of file ntuser/kernel/globals.c. Referenced by RawInputThread(), and UpdateKeyLights().

KEYBOARD_INDICATOR_PARAMETERS gklpBootTime

| Definition at line 556 of file ntuser/kernel/globals.c. Referenced by ProcessDeviceChanges(), and UpdatePerUserKeyboardIndicators().

KEYBOARD_TYPEMATIC_PARAMETERS gktp

| Definition at line 557 of file ntuser/kernel/globals.c. Referenced by RawInputThread(), and SetKeyboardRate().

KBDLANGTOGGLE gLangToggle[]

Initial value:

     {
        VK_MENU,   0,               KLT_ALT,
        0,         SCANCODE_LSHIFT, KLT_LEFTSHIFT,
        0,         SCANCODE_RSHIFT, KLT_RIGHTSHIFT
    }

Definition at line 168 of file ntuser/kernel/globals.c.

Referenced by GetKbdLangSwitch(), and xxxScanSysQueue().

int gLangToggleKeyState

| Definition at line 173 of file ntuser/kernel/globals.c. Referenced by xxxNextWindow(), and xxxScanSysQueue().

BYTE gLastVkDown

| Definition at line 434 of file ntuser/kernel/globals.c. Referenced by FilterKeys(), and StopFilterKeysTimers().

BYTE gLatchBits

| Definition at line 439 of file ntuser/kernel/globals.c. Referenced by HighContrastHotKey(), MouseKeys(), ToggleKeys(), UtilityManager(), xxxMKMouseMove(), xxxMKMoveAccelCursorTimer(), xxxMKMoveConstCursorTimer(), xxxMKToggleMouseKeys(), xxxStickyKeys(), xxxSystemParametersInfo(), xxxTurnOffStickyKeys(), xxxTwoKeysDown(), xxxUnlatchStickyKeys(), and xxxUpdateModifierState().

HKL gLCIDSentToShell

| Definition at line 165 of file ntuser/kernel/globals.c. Referenced by xxxInternalActivateKeyboardLayout(), xxxInternalUnloadKeyboardLayout(), xxxLoadKeyboardLayoutEx(), and xxxSetFocus().

LASTINPUT glinp

| Definition at line 198 of file ntuser/kernel/globals.c. Referenced by CanForceForeground(), IdleTimerProc(), PostAccessNotification(), PostShellHookMessages(), ProcessQueuedMouseEvents(), WakeSomeone(), xxxActivateThisWindow(), xxxAllowSetForegroundWindow(), xxxButtonEvent(), xxxCreateThreadInfo(), xxxDesktopThread(), xxxDestroyThreadInfo(), xxxDoHotKeyStuff(), xxxKeyEvent(), xxxNextWindow(), xxxProcessKeyEvent(), xxxSendBSMtoDesktop(), xxxSysCommand(), xxxSystemParametersInfo(), xxxTrackPopupMenuEx(), xxxUserPowerStateCalloutWorker(), and zzzActiveCursorTracking().

BYTE gLockBits

| Definition at line 440 of file ntuser/kernel/globals.c. Referenced by HighContrastHotKey(), MouseKeys(), ToggleKeys(), UtilityManager(), xxxMKMouseMove(), xxxMKMoveAccelCursorTimer(), xxxMKMoveConstCursorTimer(), xxxMKToggleMouseKeys(), xxxStickyKeys(), xxxSystemParametersInfo(), xxxTurnOffStickyKeys(), xxxTwoKeysDown(), xxxUnlatchStickyKeys(), and xxxUpdateModifierState().

MENUSTATE gMenuState

| Definition at line 324 of file ntuser/kernel/globals.c. Referenced by FinalUserInit(), MNSetupAnimationDC(), xxxMNAllocMenuState(), xxxMNEndMenuState(), and xxxSetNCFonts().

LONG gMKDeltaX

| Definition at line 152 of file ntuser/kernel/globals.c. Referenced by xxxMKMouseMove(), xxxMKMoveAccelCursorTimer(), and xxxMKMoveConstCursorTimer().

LONG gMKDeltaY

| Definition at line 153 of file ntuser/kernel/globals.c. Referenced by xxxMKMouseMove(), xxxMKMoveAccelCursorTimer(), and xxxMKMoveConstCursorTimer().

BYTE gMKPreviousVk

| Definition at line 442 of file ntuser/kernel/globals.c. Referenced by MouseKeys().

MOUSECURSOR gMouseCursor

| Definition at line 159 of file ntuser/kernel/globals.c. Referenced by CalculateMouseTable(), xxxMKMouseMove(), xxxMKMoveAccelCursorTimer(), and xxxMKMoveConstCursorTimer().

MOUSEEVENT gMouseEventQueue[NELEM_BUTTONQUEUE]

| Definition at line 534 of file ntuser/kernel/globals.c. Referenced by QueueMouseEvent(), and UnqueueMouseEvent().

MOUSEKEYS gMouseKeys

| Definition at line 108 of file ntuser/kernel/globals.c. Referenced by CalculateMouseTable(), xxxSystemParametersInfo(), and xxxUpdatePerUserAccessPackSettings().

int gMouseSensitivity = MOUSE_SENSITIVITY_DEFAULT

| Definition at line 281 of file ntuser/kernel/globals.c. Referenced by GetMouseCoord(), xxxSystemParametersInfo(), and xxxUpdatePerUserSystemParameters().

int gMouseSensitivityFactor = 256

| Definition at line 280 of file ntuser/kernel/globals.c. Referenced by GetMouseCoord(), xxxSystemParametersInfo(), and xxxUpdatePerUserSystemParameters().

int gMouseSpeed = 1

| Definition at line 277 of file ntuser/kernel/globals.c. Referenced by DoMouseAccel(), GetMouseCoord(), xxxSystemParametersInfo(), and xxxUpdatePerUserSystemParameters().

int gMouseThresh1 = 6

| Definition at line 278 of file ntuser/kernel/globals.c. Referenced by DoMouseAccel(), xxxSystemParametersInfo(), and xxxUpdatePerUserSystemParameters().

int gMouseThresh2 = 10

| Definition at line 279 of file ntuser/kernel/globals.c. Referenced by DoMouseAccel(), xxxSystemParametersInfo(), and xxxUpdatePerUserSystemParameters().

int gnDCECount

| Definition at line 470 of file ntuser/kernel/globals.c. Referenced by DecrementFreeDCECount(), IncrementFreeDCECount(), and ReleaseCacheDC().

INT gnFastAltTabColumns = 7

| Definition at line 292 of file ntuser/kernel/globals.c. Referenced by InitSwitchWndInfo(), and xxxUpdatePerUserSystemParameters().

INT gnFastAltTabRows = 3

| Definition at line 291 of file ntuser/kernel/globals.c. Referenced by InitSwitchWndInfo(), and xxxUpdatePerUserSystemParameters().

int gnKeyboards

| Definition at line 558 of file ntuser/kernel/globals.c. Referenced by ProcessDeviceChanges().

int gnKeyboardSpeed = 15

| Definition at line 228 of file ntuser/kernel/globals.c. Referenced by LW_DriversInit(), and xxxSystemParametersInfo().

int gnllHooksTimeout = 300

| Definition at line 698 of file ntuser/kernel/globals.c. Referenced by xxxCallHook2(), and xxxUpdatePerUserSystemParameters().

int gnMice

| Definition at line 538 of file ntuser/kernel/globals.c. Referenced by ProcessDeviceChanges(), and UpdateMouseInfo().

int gnRedirectedCount

| Definition at line 472 of file ntuser/kernel/globals.c. Referenced by DecrementRedirectedCount(), and IncrementRedirectedCount().

DWORD gnRetryReadInput

| Definition at line 529 of file ntuser/kernel/globals.c. Referenced by RawInputThread(), and StartDeviceRead().

ULONG gnShadowers

| Definition at line 964 of file ntuser/kernel/globals.c. Referenced by NtUserRemoteRedrawScreen(), RemotePassthruDisable(), RemoteShadowCleanup(), xxxRemoteDisconnect(), xxxRemotePassthruEnable(), xxxRemoteReconnect(), and xxxRemoteShadowSetup().

USHORT gNumLockVk = VK_NUMLOCK

| Definition at line 707 of file ntuser/kernel/globals.c. Referenced by MouseKeys(), ToggleKeys(), xxxMKToggleMouseKeys(), xxxSystemParametersInfo(), xxxToggleKeysTimer(), and xxxUpdatePerUserAccessPackSettings().

int gnUpdateSave

| Definition at line 50 of file ntuser/kernel/globals.c. Referenced by xxxBeginPaint(), xxxEndPaint(), and xxxMoveSize().

USHORT gOemScrollVk = VK_SCROLL

| Definition at line 708 of file ntuser/kernel/globals.c. Referenced by ToggleKeys(), and xxxUpdatePerUserAccessPackSettings().

PATTACHINFO gpai

| Definition at line 249 of file ntuser/kernel/globals.c. Referenced by xxxDestroyThreadInfo(), zzzAttachThreadInput(), and zzzRecalc2().

PBWL gpbwlList

| Definition at line 231 of file ntuser/kernel/globals.c. Referenced by BuildHwndList(), FreeHwndList(), Win32kNtUserCleanup(), and xxxDestroyThreadInfo().

PCLS gpclsList

| Definition at line 388 of file ntuser/kernel/globals.c. Referenced by CleanupResources(), DestroyClassBrush(), GetClassPtr(), and InternalRegisterClassEx().

PCURSOR gpcurFirst

| Definition at line 390 of file ntuser/kernel/globals.c. Referenced by _FindExistingCursorIcon(), _LoadCursorsAndIcons(), DebugGetWindowTextA(), LinkCursor(), and UnlinkCursor().

PCURSOR gpcurLogCurrent

| Definition at line 210 of file ntuser/kernel/globals.c. Referenced by NtUserGetCursorInfo(), xxxMakeWindowForegroundWithState(), zzzAnimateCursor(), zzzSetSystemImage(), and zzzUpdateCursorImage().

PCURSOR gpcurPhysCurrent

| Definition at line 211 of file ntuser/kernel/globals.c. Referenced by NtUserGetCursorInfo(), xxxMakeWindowForegroundWithState(), zzzSetSystemImage(), and zzzUpdateCursorImage().

PDESKTOP gpdeskRecalcQueueAttach

| Definition at line 251 of file ntuser/kernel/globals.c. Referenced by xxxDestroyThreadInfo(), and xxxInternalGetMessage().

PDEVICEINFO gpDeviceInfoList

| Definition at line 522 of file ntuser/kernel/globals.c. Referenced by CreateDeviceInfo(), DeviceNotify(), FreeDeviceInfo(), MKHideMouseCursor(), MKShowMouseCursor(), NlsKbdSendIMENotification(), ProcessDeviceChanges(), RawInputThread(), UpdateKeyLights(), UpdateMouseInfo(), and Win32kNtUserCleanup().

PDISPLAYINFO gpDispInfo

| Definition at line 464 of file ntuser/kernel/globals.c. Referenced by _ExcludeUpdateRgn(), _GetDCEx(), _SetLayeredWindowAttributes(), _UpdateLayeredWindow(), _WindowFromDC(), BltColor(), BMPtoDIB(), BoundCursor(), CleanupGDI(), ClipPointToDesktop(), ConvertRedirectionDCs(), CreateBitmapStrip(), CreateCacheDC(), CreateCaptionStrip(), CreateCompatiblePublicDC(), CreateFade(), CreatePaletteFromBitmap(), CreateRedirectionBitmap(), CreateScreenBitmap(), CreateSpb(), CtxDisplayIOCtl(), DelayedDestroyCacheDC(), DeleteFadeSprite(), DestroyCacheDC(), DestroyCacheDCEntries(), DestroyMonitor(), DestroyMonitorDCs(), DIBtoBMP(), DrawMenuItemCheckMark(), DT_InitDrawTextInfo(), EnforceColorDependentSettings(), FastWindowFromDC(), FinalUserInit(), FindSpb(), FreeAllSpbs(), FreeSpb(), GetMonitorDC(), GetPrimaryMonitor(), HdevFromMonitor(), InitiateWin32kCleanup(), InitUserScreen(), InitVideo(), InternalScrollDC(), InvalidateDce(), IsVSlick(), LayerHitTest(), LockWindowUpdate2(), LookupDC(), MNCreateAnimationBitmap(), MNFadeSelection(), MNSetupAnimationDC(), MonitorFromHdev(), NtUserEnumDisplayDevices(), NtUserEnumDisplaySettings(), OffsetChildren(), PasteScreenPalette(), PreventInterMonitorBlts(), ProcessDeviceChanges(), ProcessQueuedMouseEvents(), RawInputThread(), RecreateRedirectionBitmap(), ReleaseCacheDC(), RemoteDisableScreen(), RemotePassthruDisable(), RemoteRedrawRectangle(), RemoteRedrawScreen(), RemoteShadowCleanup(), RemoteShadowStart(), RestoreSpb(), SaveScreen(), SetMonitorData(), SetNCMetrics(), SetPointer(), SetSysColor(), SnapshotMonitorRects(), SpbCheck(), SpbCheckPwnd(), SpbCheckRect(), StopFade(), TrackLayeredZorder(), UnsetLayeredWindow(), UpdateFade(), UpdateLayeredSprite(), UpdateUserScreen(), UserGetDesktopDC(), UserGetHDEV(), UserGetHwnd(), UserThreadCallout(), UserVisrgnFromHwnd(), VideoPortCalloutThread(), Win32KDriverUnload(), Win32UserInitialize(), WindowFromCacheDC(), xxxCancelTrackingForThread(), xxxCheckFullScreen(), xxxCreateDesktop2(), xxxDesktopThread(), xxxDesktopWndProc(), xxxDrawDragRect(), xxxDrawState(), xxxEnumDisplayMonitors(), xxxFlushPalette(), xxxFreeWindow(), xxxGetUpdateRect(), xxxLoadDesktopWallpaper(), xxxMakeWindowForegroundWithState(), xxxMenuBarDraw(), xxxMinMaximize(), xxxMNInvertItem(), xxxMoveEventAbsolute(), xxxMoveSize(), xxxMS_TrackMove(), xxxProcessKeyEvent(), xxxReleaseCapture(), xxxRemoteDisconnect(), xxxRemotePassthruEnable(), xxxRemoteReconnect(), xxxSetDeskWallpaper(), xxxSetLayeredWindow(), xxxSetSysColors(), xxxSetWindowPos(), xxxSnapWindow(), xxxSysCommand(), xxxSystemParametersInfo(), xxxSystemTimerProc(), xxxTrackInitSize(), xxxUpdatePerUserSystemParameters(), xxxUserChangeDisplaySettings(), xxxUserPowerEventCalloutWorker(), xxxUserProcessCallout(), zzzBltValidBits(), zzzChangeStates(), zzzClipCursor(), zzzInternalSetCursorPos(), zzzInvalidateDCCache(), and zzzUpdateCursorImage().

DWORD gpdwCPUserPreferencesMask[SPI_BOOLMASKDWORDSIZE]

Initial value:

     {
        !0x00000001
      |  0x00000002
      |  0x00000004
      |  0x00000008
      |  0x00000010
      | !0x00000020
      | !0x00000040
      |  0x00000080
      |  0x00000200
      |  0x00000400
      |  0x00000800
      |  0x00001000
      |  0x00002000
      |  0x80000000
    }

Definition at line 348 of file ntuser/kernel/globals.c.

Referenced by LoadCPUserPreferences(), and xxxSystemParametersInfo().

PEPROCESS gpepCSRSS

| Definition at line 794 of file ntuser/kernel/globals.c. Referenced by _LoadCursorsAndIcons(), _RegisterHotKey(), CreateSystemThread(), DestroyProcessesObjects(), FreeDesktop(), GetDesktopView(), GetThreadsWithPKL(), NtUserGetCaretBlinkTime(), NtUserGetDoubleClickTime(), NtUserInitialize(), NtUserSetThreadDesktop(), OpenCacheKeyEx(), ProcessDeviceChanges(), RawInputThread(), ResetSharedDesktops(), SetGlobalCursorLevel(), UnmapDesktop(), UserGetDesktopDC(), UserPowerEventCallout(), UserPowerStateCallout(), UserThreadCallout(), xxxActivateDebugger(), xxxCloseDesktop(), xxxCreateDesktop(), xxxCreateDisconnectDesktop(), xxxCreateThreadInfo(), xxxCreateWindowStation(), xxxGetThreadDesktop(), xxxInternalActivateKeyboardLayout(), xxxSetInformationThread(), xxxSetProcessInitState(), xxxSetThreadDesktop(), xxxSystemParametersInfo(), xxxUserProcessCallout(), and zzzClipCursor().

PEPROCESS gpepInit

| Definition at line 795 of file ntuser/kernel/globals.c. Referenced by OpenCacheKeyEx(), and Win32UserInitialize().

PKEVENT gpEventDiconnectDesktop

| Definition at line 77 of file ntuser/kernel/globals.c. Referenced by UserInitialize(), Win32kNtUserCleanup(), xxxCreateDesktop(), and xxxRemoteDisconnect().

PKEVENT gpEventHungThread

| Definition at line 76 of file ntuser/kernel/globals.c. Referenced by xxxButtonEvent(), and xxxDesktopThread().

PKEVENT gpEventSwitchDesktop

| Definition at line 83 of file ntuser/kernel/globals.c. Referenced by FreeWindowStation(), xxxCreateWindowStation(), and xxxSwitchDesktop().

PKEVENT gpevtDesktopDestroyed

| Definition at line 958 of file ntuser/kernel/globals.c. Referenced by InitiateWin32kCleanup(), RemoteConnect(), Win32kNtUserCleanup(), and xxxDesktopThread().

PKE gpFKKeyEvent = &gFKKeyEvent

| Definition at line 130 of file ntuser/kernel/globals.c. Referenced by FilterKeys(), xxxFKAcceptanceDelayTimer(), and xxxFKRepeatRateTimer().

PROC gpfnwp[ICLS_MAX]

| Definition at line 760 of file ntuser/kernel/globals.c. Referenced by _WOWModuleUnload(), and InitializeClientPfnArrays().

PFAST_MUTEX gpHandleFlagsMutex

| Definition at line 758 of file ntuser/kernel/globals.c. Referenced by InitCreateUserCrit(), and Win32kNtUserCleanup().

PHOTKEY gphkFirst

| Definition at line 262 of file ntuser/kernel/globals.c. Referenced by _RegisterHotKey(), DestroyThreadsHotKeys(), DestroyWindowsHotKeys(), FindHotKey(), and IsHotKey().

PHOTKEYSTRUCT gpHotKeyList

| Definition at line 269 of file ntuser/kernel/globals.c. Referenced by DWP_SetHotKey(), HotKeyHelper(), and HotKeyToWindow().

BYTE gPhysModifierState

| Definition at line 436 of file ntuser/kernel/globals.c. Referenced by FilterKeys(), HighContrastHotKey(), MouseKeys(), ProcessKeyboardInput(), ToggleKeys(), UtilityManager(), xxxMKMouseMove(), xxxMKMoveAccelCursorTimer(), xxxMKMoveConstCursorTimer(), xxxMKToggleMouseKeys(), xxxStickyKeys(), xxxTurnOffStickyKeys(), and xxxTwoKeysDown().

HANDLE gpidLogon

| Definition at line 793 of file ntuser/kernel/globals.c. Referenced by _LockWindowStation(), _RegisterHotKey(), _RegisterLogonProcess(), _SetLogonNotifyWindow(), _SetWindowStationUser(), _UnlockWindowStation(), CheckDesktopPolicy(), CheckWinstaWriteAttributesAccess(), FastGetProfileStringW(), FCallerOk(), InitiateShutdown(), NtUserGetThreadState(), OpenCacheKeyEx(), OpenDesktopCompletion(), PrepareForLogoff(), xxxCreateDefaultImeWindow(), xxxCreateDesktop2(), xxxCreateThreadInfo(), xxxCreateWindowStation(), xxxDoHotKeyStuff(), xxxLoadKeyboardLayoutEx(), xxxQueryInformationThread(), xxxSnapWindow(), xxxSwitchDesktop(), and xxxUpdatePerUserSystemParameters().

PIMEHOTKEYOBJ gpImeHotKeyListHeader = NULL

| Definition at line 275 of file ntuser/kernel/globals.c. Referenced by CheckImeHotKey(), FreeImeHotKeys(), GetImeHotKey(), SetImeHotKey(), and xxxScanSysQueue().

PW32JOB gpJobsList

| Definition at line 259 of file ntuser/kernel/globals.c. Referenced by CreateW32Job(), HMCleanupGrantedHandle(), JobCalloutTerminate(), NtUserUserHandleGrantAccess(), UserGlobalAtomTableCallout(), and UserJobCallout().

PKBDNLSTABLES gpKbdNlsTbl

| Definition at line 191 of file ntuser/kernel/globals.c. Referenced by _GetKeyboardType(), ChangeForegroundKeyboardTable(), NlsKbdSendIMENotification(), RemoveKeyboardLayoutFile(), xxxKENLSProcs(), and xxxUpdatePerUserAccessPackSettings().

PKBDTABLES gpKbdTbl = &KbdTablesFallback

| Definition at line 189 of file ntuser/kernel/globals.c. Referenced by ChangeForegroundKeyboardTable(), RemoveKeyboardLayoutFile(), VKFromVSC(), xxxKELocaleProcs(), and xxxRemotePassthruEnable().

PKEVENT gpkeMouseData

| Definition at line 458 of file ntuser/kernel/globals.c. Referenced by QueueMouseEvent(), RawInputThread(), and Win32kNtUserCleanup().

PKBDFILE gpkfList = NULL

| Definition at line 658 of file ntuser/kernel/globals.c. Referenced by LoadKeyboardLayoutFile(), RemoveKeyboardLayoutFile(), and Win32kNtUserCleanup().

PNOTIFY gpLastPendingNotify

| Definition at line 692 of file ntuser/kernel/globals.c. Referenced by CreateNotify(), and RemoveNotify().

PMONITOR gpMonitorCached

| Definition at line 66 of file ntuser/kernel/globals.c. Referenced by CleanupGDI(), CreateCachedMonitor(), SetMonitorData(), and UpdateUserScreen().

POPUPMENU gpopupMenu

| Definition at line 323 of file ntuser/kernel/globals.c. Referenced by MNAllocPopup(), and MNFreePopup().

POWERSTATE gPowerState

| Definition at line 901 of file ntuser/kernel/globals.c. Referenced by StartScreenSaver(), UserPowerStateCallout(), xxxSleepThread(), xxxSysCommand(), and xxxUserPowerStateCalloutWorker().

PNOTIFY gpPendingNotifies

| Definition at line 691 of file ntuser/kernel/globals.c. Referenced by CreateNotify(), DestroyNotify(), FreeThreadsWinEvents(), RemoveNotify(), and xxxFlushDeferredWindowEvents().

PPROCESSINFO gppiForegroundOld

| Definition at line 257 of file ntuser/kernel/globals.c. Referenced by DestroyProcessInfo(), and SetForegroundPriorityProcess().

PPROCESSINFO gppiFullscreen

| Definition at line 429 of file ntuser/kernel/globals.c. Referenced by TrackFullscreenMode(), and xxxDestroyThreadInfo().

PPROCESSINFO gppiInputProvider

| Definition at line 200 of file ntuser/kernel/globals.c. Referenced by CanForceForeground(), DestroyProcessInfo(), xxxInternalKeyEventDirect(), xxxMouseEventDirect(), xxxSetForegroundWindow(), and zzzSetWindowsHookEx().

PPROCESSINFO gppiList

| Definition at line 255 of file ntuser/kernel/globals.c. Referenced by DestroyProcessInfo(), InitiateWin32kCleanup(), UpdateJob(), xxxInitProcessInfo(), and xxxUserProcessCallout().

PPROCESSINFO gppiLockSFW

| Definition at line 201 of file ntuser/kernel/globals.c. Referenced by _LockSetForegroundWindow(), DestroyProcessInfo(), GiveUpForeground(), xxxKeyEvent(), xxxSetForegroundWindow2(), and zzzCancelJournalling().

PPROCESSINFO gppiScreenSaver

| Definition at line 423 of file ntuser/kernel/globals.c. Referenced by DestroyProcessInfo(), IdleTimerProc(), SetForegroundPriorityProcess(), StartScreenSaver(), xxxActivateThisWindow(), xxxCreateThreadInfo(), and xxxSystemParametersInfo().

PPROCESSINFO gppiStarting

| Definition at line 254 of file ntuser/kernel/globals.c. Referenced by CancelForegroundActivate(), CheckAppStarting(), ClearAppStarting(), RestoreForegroundActivate(), and SetAppStarting().

PPROCESSINFO gppiWantForegroundPriority

| Definition at line 256 of file ntuser/kernel/globals.c. Referenced by CheckProcessForeground(), NtUserYieldTask(), xxxInternalGetMessage(), xxxSetForegroundWindow(), and xxxSetForegroundWindow2().

PQ gpqCursor

| Definition at line 101 of file ntuser/kernel/globals.c. Referenced by FreeQueue(), SetPointer(), xxxMakeWindowForegroundWithState(), xxxScanSysQueue(), xxxSwitchDesktop(), xxxUserResetDisplayDevice(), zzzDestroyQueue(), zzzSetCursor(), zzzSetFMouseMoved(), zzzShowCursor(), and zzzUpdateCursorImage().

PQ gpqForeground

| Definition at line 99 of file ntuser/kernel/globals.c. Referenced by _GetGUIThreadInfo(), _SelectPalette(), _UserSoundSentryWorker(), CalcForegroundInsertAfter(), CanForceForeground(), CheckTransferState(), FAllowForegroundActivate(), FreeQueue(), GetActiveHKL(), GetActiveTrackPwnd(), IdleTimerProc(), IsTopmostRealApp(), NlsClearKeyStateToggle(), NlsKbdSendIMEProc(), NlsSetKeyStateToggle(), NlsTestKeyStateToggle(), NtUserCheckImeHotKey(), NtUserGetForegroundWindow(), NtUserGetThreadState(), NtUserQueryWindow(), PwndForegroundCapture(), RemoteSyncToggleKeys(), SetForegroundThread(), xxxActivateDebugger(), xxxActivateThisWindow(), xxxActivateWindow(), xxxActiveWindowTracking(), xxxButtonEvent(), xxxDefWindowProc(), xxxDestroyWindow(), xxxDoButtonEvent(), xxxDoHotKeyStuff(), xxxEndMenuLoop(), xxxFlashWindow(), xxxHardErrorControl(), xxxKeyEvent(), xxxMakeWindowForegroundWithState(), xxxMenuWindowProc(), xxxMinMaximize(), xxxMNSetCapture(), xxxMoveSize(), xxxNextWindow(), xxxOldNextWindow(), xxxProcessEventMessage(), xxxResetDisplayDevice(), xxxSendFocusMessages(), xxxSetFocus(), xxxSetForegroundWindow(), xxxSetForegroundWindow2(), xxxSetIMEShowStatus(), xxxSetThreadDesktop(), xxxShowWindow(), xxxSwitchDesktop(), xxxSwitchToThisWindow(), xxxSwpActivate(), xxxSysCommand(), xxxUpdateTray(), zzzClipCursor(), zzzDestroyQueue(), and zzzReattachThreads().

PQ gpqForegroundPrev

| Definition at line 100 of file ntuser/kernel/globals.c. Referenced by FreeQueue(), xxxActivateThisWindow(), xxxActivateWindow(), xxxMenuWindowProc(), xxxSetForegroundWindow2(), zzzDestroyQueue(), and zzzReattachThreads().

PVOID gpRemoteBeepDevice

| Definition at line 943 of file ntuser/kernel/globals.c. Referenced by RemoteConnect(), UserBeep(), and Win32kNtUserCleanup().

PERESOURCE gpresDeviceInfoList

| Definition at line 523 of file ntuser/kernel/globals.c. Referenced by InitCreateUserCrit(), RequestDeviceChange(), StartDeviceRead(), and Win32kNtUserCleanup().

PERESOURCE gpresMouseEventQueue

| Definition at line 537 of file ntuser/kernel/globals.c. Referenced by InitCreateUserCrit(), LeaveMouseCrit(), and Win32kNtUserCleanup().

PERESOURCE gpresUser

| Definition at line 757 of file ntuser/kernel/globals.c. Referenced by ChangeAcquireResourceType(), EnterCrit(), EnterSharedCrit(), InitCreateUserCrit(), LeaveCrit(), MNAnimate(), UserIsUserCritSecIn(), UserJobCallout(), UserThreadCallout(), Win32kNtUserCleanup(), xxxUserFindHandleForObject(), and xxxUserProcessCallout().

BYTE gPrevModifierState

| Definition at line 438 of file ntuser/kernel/globals.c. Referenced by xxxStickyKeys().

PSCANCODEMAP gpScancodeMap

| Definition at line 445 of file ntuser/kernel/globals.c. Referenced by InitKeyboard(), MapScancode(), ProcessKeyboardInput(), and Win32kNtUserCleanup().

PSERVERINFO gpsi

| Definition at line 843 of file ntuser/kernel/globals.c.

PSMS gpsmsList

| Definition at line 643 of file ntuser/kernel/globals.c. Referenced by InitiateWin32kCleanup(), InterQueueMsgCleanup(), SendMsgCleanup(), Win32kNtUserCleanup(), and xxxInterSendMsgEx().

LPWSTR gpszWall

| Definition at line 30 of file ntuser/kernel/globals.c. Referenced by Win32kNtUserCleanup(), xxxSetDeskWallpaper(), and xxxSystemParametersInfo().

POINT gptCursorAsync

| Definition at line 199 of file ntuser/kernel/globals.c. Referenced by ProcessMouseInput(), RawInputThread(), xxxMKButtonSetState(), xxxMKMouseMove(), xxxMKMoveAccelCursorTimer(), xxxMKMoveConstCursorTimer(), xxxMouseEventDirect(), xxxMoveEvent(), xxxMoveEventAbsolute(), xxxRemoteStopScreenUpdates(), zzzActiveCursorTracking(), and zzzInternalSetCursorPos().

PVOID gpThinWireCache

| Definition at line 972 of file ntuser/kernel/globals.c. Referenced by RemoteConnect(), and RemoteThinwireStats().

PTHREADINFO gptiBlockInput

| Definition at line 92 of file ntuser/kernel/globals.c. Referenced by _BlockInput(), ProcessMouseInput(), xxxDestroyThreadInfo(), xxxHardErrorControl(), and xxxKeyEvent().

PTHREADINFO gptiCurrent = NULL

| Definition at line 665 of file ntuser/kernel/globals.c. Referenced by ChangeAcquireResourceType(), EnterCrit(), LeaveCrit(), and xxxWindowEvent().

PTHREADINFO gptiForeground

| Definition at line 91 of file ntuser/kernel/globals.c. Referenced by CanForceForeground(), ChangeForegroundKeyboardTable(), ImeCheckTopmost(), NtUserGetAsyncKeyState(), SetForegroundThread(), TrackBackground(), VKFromVSC(), xxxCreateThreadInfo(), xxxDestroyThreadInfo(), xxxEndDeferWindowPosEx(), xxxGetInputEvent(), xxxInternalActivateKeyboardLayout(), xxxKeyEvent(), xxxMinMaximize(), xxxMoveSize(), xxxMsgWaitForMultipleObjects(), xxxNotifyIMEStatus(), xxxSetForegroundWindow2(), xxxSetPKLinThreads(), and xxxSleepThread().

PTHREADINFO gptiLockUpdate

| Definition at line 90 of file ntuser/kernel/globals.c. Referenced by LockWindowUpdate2(), and xxxFreeWindow().

UINT gptInd = 1

| Definition at line 629 of file ntuser/kernel/globals.c. Referenced by _GetMouseMovePointsEx().

PTHREADINFO gptiRit

| Definition at line 455 of file ntuser/kernel/globals.c. Referenced by _GetNextQueueWindow(), DestroyProcessesObjects(), DrawSwitchWndHilite(), HMChangeOwnerThread(), InitiateWin32kCleanup(), InternalSetTimer(), MarkThreadsObjects(), OpenDevice(), PostUpdateKeyStateEvent(), ProcessDeviceChanges(), RawInputThread(), RegisterForDeviceChangeNotifications(), SetForegroundThread(), UnlinkHook(), UnregisterForDeviceChangeNotifications(), UpdateKeyLights(), Win32kNtUserCleanup(), xxxCallHook2(), xxxCreateDesktop(), xxxHkCallHook(), xxxInitInput(), xxxInternalActivateKeyboardLayout(), xxxKeyEvent(), xxxLoadHmodIndex(), xxxMoveEventAbsolute(), xxxNextWindow(), xxxOldNextWindow(), xxxProcessNotifyWinEvent(), xxxScanSysQueue(), xxxSwitchDesktop(), ZombieCursor(), and zzzCancelJournalling().

PTHREADINFO gptiShutdownNotify

| Definition at line 89 of file ntuser/kernel/globals.c. Referenced by EndShutdown(), InitiateShutdown(), xxxClientShutdown2(), and xxxDestroyThreadInfo().

PTHREADINFO gptiTasklist

| Definition at line 88 of file ntuser/kernel/globals.c. Referenced by _RegisterTasklist(), xxxDestroyThreadInfo(), and xxxSysCommand().

PTIMER gptmrFirst

| Definition at line 666 of file ntuser/kernel/globals.c. Referenced by DestroyThreadsTimers(), DestroyWindowsTimers(), DoTimer(), FindTimer(), FreeTimer(), InitiateWin32kCleanup(), InternalSetTimer(), TimersProc(), Win32kNtUserCleanup(), and xxxDispatchMessage().

PKTIMER gptmrMaster

| Definition at line 667 of file ntuser/kernel/globals.c. Referenced by InternalSetTimer(), RawInputThread(), SetAppStarting(), TimersProc(), UserSetTimer(), and Win32kNtUserCleanup().

POINT gptSSCursor

| Definition at line 424 of file ntuser/kernel/globals.c. Referenced by ResetSharedDesktops(), SetWakeBit(), xxxCreateThreadInfo(), and xxxMakeWindowForegroundWithState().

PUSHORT gpusMouseVKey = (PUSHORT) ausMouseVKey

| Definition at line 705 of file ntuser/kernel/globals.c. Referenced by MouseKeys(), and xxxUpdatePerUserAccessPackSettings().

PROFILEVALUEINFO gpviCPUserPreferences[1+SPI_DWORDRANGECOUNT]

Initial value:

     {

        {0,             PMAP_DESKTOP,           (LPCWSTR)STR_USERPREFERENCESMASK},
        {200000,        PMAP_DESKTOP,           (LPCWSTR)STR_FOREGROUNDLOCKTIMEOUT},
        {0,             PMAP_DESKTOP,           (LPCWSTR)STR_ACTIVEWNDTRKTIMEOUT},
        {3,             PMAP_DESKTOP,           (LPCWSTR)STR_FOREGROUNDFLASHCOUNT},
        {1,             PMAP_DESKTOP,           (LPCWSTR)STR_CARETWIDTH},
    }

Definition at line 370 of file ntuser/kernel/globals.c.

Referenced by LoadCPUserPreferences(), and xxxSystemParametersInfo().

PWIN32HEAP gpvSharedAlloc

| Definition at line 921 of file ntuser/kernel/globals.c. Referenced by HMAllocObject(), HMFreeObject(), HMGrowHandleTable(), InitCreateSharedSection(), SharedAlloc(), SharedFree(), UserCommitSharedMemory(), and Win32KDriverUnload().

PVOID gpvSharedBase

| Definition at line 919 of file ntuser/kernel/globals.c. Referenced by HMGrowHandleTable(), InitCreateSharedSection(), InitMapSharedSection(), UserCommitSharedMemory(), Win32KDriverUnload(), and Win32UserInitialize().

PVWPL gpvwplHungRedraw

| Definition at line 477 of file ntuser/kernel/globals.c. Referenced by ClearHungFlag(), RawInputThread(), SetHungFlag(), Win32kNtUserCleanup(), and xxxHungAppDemon().

PDRIVER_OBJECT gpWin32kDriverObject

| Definition at line 528 of file ntuser/kernel/globals.c. Referenced by DeviceClassCDROMNotify(), OpenMultiplePortDevice(), RegisterForDeviceChangeNotifications(), UserLogError(), Win32kPnPDriverEntry(), and xxxRegisterForDeviceClassNotifications().

PEVENTHOOK gpWinEventHooks

| Definition at line 690 of file ntuser/kernel/globals.c. Referenced by _SetWinEventHook(), DestroyEventHook(), FreeThreadsWinEvents(), Win32kNtUserCleanup(), and xxxWindowEvent().

PWOWPROCESSINFO gpwpiFirstWow

| Definition at line 94 of file ntuser/kernel/globals.c. Referenced by DestroyProcessInfo(), NtUserPostThreadMessage(), and xxxRegisterUserHungAppHandlers().

PWOWTHREADINFO gpwtiFirst

| Definition at line 93 of file ntuser/kernel/globals.c. Referenced by DestroyTask(), Win32kNtUserCleanup(), xxxUserNotifyProcessCreate(), xxxWaitForInputIdle(), and zzzInitTask().

SECURITY_QUALITY_OF_SERVICE gqosDefault

Initial value:

     {
            sizeof(SECURITY_QUALITY_OF_SERVICE),
            SecurityImpersonation,
            SECURITY_STATIC_TRACKING,
            TRUE
        }

Definition at line 862 of file ntuser/kernel/globals.c.

Referenced by _DdeGetQualityOfService(), _DdeSetQualityOfService(), and MESSAGECALL().

RECT grcCursorClip

| Definition at line 195 of file ntuser/kernel/globals.c. Referenced by BoundCursor(), NtUserGetClipCursor(), RawInputThread(), and zzzClipCursor().

RECT grcVDMCursorBounds

| Definition at line 212 of file ntuser/kernel/globals.c. Referenced by BoundCursor(), and SetVDMCursorBounds().

CLIENTKEYBOARDTYPE gRemoteClientKeyboardType

| Definition at line 946 of file ntuser/kernel/globals.c. Referenced by ProcessDeviceChanges(), RemoteConnect(), and xxxRemoteReconnect().

PDESKTOP grpdeskLogon

| Definition at line 653 of file ntuser/kernel/globals.c. Referenced by _LockWindowStation(), CleanupDirtyDesktops(), DestroyWindowStation(), GetTopMostInsertAfter(), InitiateWin32kCleanup(), xxxCreateDesktop(), xxxCreateDesktop2(), xxxDesktopThread(), and xxxSwitchDesktop().

PDESKTOP grpdeskRitInput

| Definition at line 456 of file ntuser/kernel/globals.c. Referenced by _BlockInput(), _GetNextQueueWindow(), CalcVisRgn(), FAllowForegroundActivate(), FilterKeys(), FKActivationTimer(), FullScreenCleanup(), HighContrastHotKey(), InitiateWin32kCleanup(), MouseKeys(), NtUserGetAsyncKeyState(), NtUserOpenInputDesktop(), PostAccessibility(), RemoteDisableScreen(), ResetSharedDesktops(), SetGlobalCursorLevel(), ToggleKeys(), TurnOffMouseKeys(), UpdateAsyncKeyState(), UserGetCurrentDesktopId(), UserScreenAccessCheck(), VideoPortCalloutThread(), xxxAccessTimeOutTimer(), xxxActivateThisWindow(), xxxButtonEvent(), xxxCancelTracking(), xxxCreateDesktop(), xxxCreateThreadInfo(), xxxDesktopThread(), xxxDesktopWndProc(), xxxDoHotKeyStuff(), xxxFKAcceptanceDelayTimer(), xxxFKRepeatRateTimer(), xxxGetInputDesktop(), xxxGetNextSysMsg(), xxxHardErrorControl(), xxxHungAppDemon(), xxxInternalActivateKeyboardLayout(), xxxInternalKeyEventDirect(), xxxMakeWindowForegroundWithState(), xxxMKToggleMouseKeys(), xxxMouseEventDirect(), xxxNextWindow(), xxxOldNextWindow(), xxxRemoteReconnect(), xxxRemoteStopScreenUpdates(), xxxSendBSMtoDesktop(), xxxSetForegroundWindow2(), xxxSetInformationThread(), xxxShowWindow(), xxxSimpleDoSyncPaint(), xxxStickyKeys(), xxxSwitchDesktop(), xxxSystemParametersInfo(), xxxToggleKeysTimer(), xxxTwoKeysDown(), xxxUserChangeDisplaySettings(), xxxUserPowerEventCalloutWorker(), xxxUserResetDisplayDevice(), zzzCancelJournalling(), zzzChangeStates(), zzzReattachThreads(), and zzzSetFMouseMoved().

PWINDOWSTATION grpWinStaList

| Definition at line 648 of file ntuser/kernel/globals.c. Referenced by _BuildNameList(), _RegisterHotKey(), _UserTestForWinStaAccess(), CleanupDirtyDesktops(), DestroyWindowStation(), GetThreadsWithPKL(), ResetSharedDesktops(), TestForInteractiveUser(), UpdateUserScreen(), UserCommitDesktopMemory(), UserSetDelayedChangeBroadcastForAllDesktops(), xxxCreateThreadInfo(), xxxCreateWindowStation(), xxxDesktopThread(), xxxRealizePalette(), xxxResolveDesktop(), xxxSendMessageBSM(), xxxSystemBroadcastMessage(), and xxxUpdatePerUserSystemParameters().

ULONG gSessionId

| Definition at line 931 of file ntuser/kernel/globals.c. Referenced by HardErrorHandler(), InitiateWin32kCleanup(), LockThreadByClientId(), NotificationThread(), NtUserGetGuiResources(), NtUserInitialize(), RawInputThread(), UserClientShutdown(), UserInitialize(), ValidateHdesk(), ValidateHwinsta(), W32WinStationDoConnect(), W32WinStationExitWindows(), WinStationAPIInit(), xxxCloseDesktop(), xxxCreateDesktop2(), xxxCreateWindowStation(), xxxOpenDesktop(), and zzzSetDesktop().

ULONG gSetLedReceived

| Definition at line 952 of file ntuser/kernel/globals.c. Referenced by ProcessKeyboardInput(), and RemoteSyncToggleKeys().

SHAREDINFO gSharedInfo

| Definition at line 844 of file ntuser/kernel/globals.c.

SMWP gSMWP

| Definition at line 332 of file ntuser/kernel/globals.c. Referenced by DestroySMWP(), InternalBeginDeferWindowPos(), Win32kNtUserCleanup(), and Win32UserInitialize().

SOUNDSENTRY gSoundSentry

| Definition at line 111 of file ntuser/kernel/globals.c. Referenced by _UserSoundSentryWorker(), xxxSystemParametersInfo(), and xxxUpdatePerUserAccessPackSettings().

PDESKTOP gspdeskDisconnect

| Definition at line 934 of file ntuser/kernel/globals.c. Referenced by InitiateWin32kCleanup(), RemoteDisableScreen(), xxxCreateDesktop(), xxxCreateDesktop2(), xxxCreateDisconnectDesktop(), xxxDesktopThread(), xxxHardErrorControl(), xxxRemoteDisconnect(), xxxRemoteStopScreenUpdates(), and xxxSwitchDesktop().

PDESKTOP gspdeskShouldBeForeground

| Definition at line 936 of file ntuser/kernel/globals.c. Referenced by InitiateWin32kCleanup(), NtUserOpenInputDesktop(), RemoteDisableScreen(), RemoteRedrawRectangle(), RemoteRedrawScreen(), xxxHardErrorControl(), and xxxSwitchDesktop().

PKL gspklBaseLayout

| Definition at line 164 of file ntuser/kernel/globals.c. Referenced by InternalVkKeyScanEx(), Win32kNtUserCleanup(), xxxCreateThreadInfo(), xxxInternalUnloadKeyboardLayout(), xxxLoadKeyboardLayoutEx(), xxxScanSysQueue(), and xxxSystemParametersInfo().

PWND gspwndActivate

| Definition at line 216 of file ntuser/kernel/globals.c. Referenced by xxxFreeWindow(), xxxKeyEvent(), and xxxNextWindow().

PWND gspwndAltTab

| Definition at line 52 of file ntuser/kernel/globals.c. Referenced by _GetAltTabInfo(), _GetNextQueueWindow(), DrawSwitchWndHilite(), NtUserGetAltTabInfo(), RawInputThread(), xxxButtonEvent(), xxxCancelCoolSwitch(), xxxDesktopWndProc(), xxxFlashWindow(), xxxKeyEvent(), xxxNextWindow(), xxxOldNextWindow(), and xxxSwitchDesktop().

PWND gspwndCursor

| Definition at line 253 of file ntuser/kernel/globals.c. Referenced by InitiateWin32kCleanup(), xxxFreeWindow(), zzzActiveCursorTracking(), zzzAttachToQueue(), and zzzSetFMouseMoved().

PWND gspwndFullScreen

| Definition at line 61 of file ntuser/kernel/globals.c. Referenced by BoundCursor(), FullScreenCleanup(), RemoteRedrawRectangle(), xxxCreateDesktop(), xxxDefWindowProc(), xxxDesktopThread(), xxxFlashWindow(), xxxMakeWindowForegroundWithState(), xxxNextWindow(), xxxOldNextWindow(), and xxxSysCommand().

PWND gspwndInternalCapture

| Definition at line 60 of file ntuser/kernel/globals.c. Referenced by InitiateWin32kCleanup(), xxxCapture(), xxxDestroyThreadInfo(), xxxSysCommand(), and zzzSetFMouseMoved().

PWND gspwndLockUpdate

| Definition at line 217 of file ntuser/kernel/globals.c. Referenced by CalcVisRgn(), LockWindowUpdate2(), and xxxFreeWindow().

PWND gspwndLogonNotify

| Definition at line 71 of file ntuser/kernel/globals.c. Referenced by _LockWorkStation(), _SetLogonNotifyWindow(), DestroyProcessInfo(), FreeWindowStation(), HighContrastHotKey(), InitiateWin32kCleanup(), NotifyLogon(), PlayEventSound(), PostAccessNotification(), RemoteLogoff(), RemoteNtSecurity(), StartScreenSaver(), UserPowerStateCallout(), xxxAccessTimeOutTimer(), xxxMessageBeep(), xxxRemoteDisconnect(), xxxRemoteReconnect(), xxxSystemParametersInfo(), xxxUserPowerEventCalloutWorker(), and xxxUserPowerStateCalloutWorker().

PWND gspwndMouseOwner

| Definition at line 218 of file ntuser/kernel/globals.c. Referenced by InitiateWin32kCleanup(), xxxButtonEvent(), xxxCapture(), xxxDesktopThread(), xxxFreeWindow(), and zzzSetFMouseMoved().

PWND gspwndScreenCapture

| Definition at line 59 of file ntuser/kernel/globals.c. Referenced by InitiateWin32kCleanup(), xxxButtonEvent(), xxxCapture(), xxxScanSysQueue(), xxxSetCapture(), and zzzSetFMouseMoved().

PWND gspwndShouldBeForeground

| Definition at line 54 of file ntuser/kernel/globals.c. Referenced by xxxDesktopThread(), and xxxMakeWindowForegroundWithState().

SIZERECT gsrcWallpaper

| Definition at line 27 of file ntuser/kernel/globals.c. Referenced by GetWallpaperCenterRect(), TileWallpaper(), and xxxSetDeskWallpaper().

STICKYKEYS gStickyKeys

| Definition at line 107 of file ntuser/kernel/globals.c. Referenced by xxxSystemParametersInfo(), and xxxUpdatePerUserAccessPackSettings().

BYTE gStickyKeysLeftShiftCount

| Definition at line 447 of file ntuser/kernel/globals.c. Referenced by ProcessMouseInput(), xxxStickyKeys(), and xxxTwoKeysDown().

BYTE gStickyKeysRightShiftCount

| Definition at line 448 of file ntuser/kernel/globals.c. Referenced by ProcessMouseInput(), xxxStickyKeys(), and xxxTwoKeysDown().

WCHAR gstrBaseWinStationName[WINSTATIONNAME_LENGTH]

| Definition at line 967 of file ntuser/kernel/globals.c. Referenced by RemoteConnect(), RemoteOpenCacheKeyEx(), xxxRemoteDisconnect(), and xxxRemoteReconnect().

BYTE gSystemCPCharSet = ANSI_CHARSET

| Definition at line 190 of file ntuser/kernel/globals.c. Referenced by CreateFontFromWinIni(), xxxDrawMenuBarTemp(), and xxxLoadKeyboardLayoutEx().

DWORD gSystemFS

| Definition at line 166 of file ntuser/kernel/globals.c. Referenced by xxxImmProcessKey(), xxxLoadKeyboardLayoutEx(), and xxxScanSysQueue().

WCHAR gszCAPTIONTOOLTIP[CAPTIONTOOLTIPLEN]

| Definition at line 912 of file ntuser/kernel/globals.c. Referenced by IsTooltipHittest(), and xxxShowTooltip().

WCHAR gszMAX[15]

| Definition at line 905 of file ntuser/kernel/globals.c. Referenced by IsTooltipHittest(), and LW_LoadSomeStrings().

WCHAR gszMIN[15]

| Definition at line 904 of file ntuser/kernel/globals.c. Referenced by IsTooltipHittest(), and LW_LoadSomeStrings().

WCHAR gszRESDOWN[20]

| Definition at line 907 of file ntuser/kernel/globals.c. Referenced by IsTooltipHittest(), and LW_LoadSomeStrings().

WCHAR gszRESUP[20]

| Definition at line 906 of file ntuser/kernel/globals.c. Referenced by IsTooltipHittest(), and LW_LoadSomeStrings().

WCHAR gszSCLOSE[15]

| Definition at line 911 of file ntuser/kernel/globals.c. Referenced by IsTooltipHittest(), and LW_LoadSomeStrings().

TERMINAL gTermIO

| Definition at line 645 of file ntuser/kernel/globals.c. Referenced by DecrementRedirectedCount(), IncrementRedirectedCount(), InitiateWin32kCleanup(), MarkThreadsObjects(), OpenDevice(), ProcessDeviceChanges(), ProcessMouseInput(), RegisterForDeviceChangeNotifications(), StartFade(), StopFade(), UnregisterForDeviceChangeNotifications(), xxxCreateDesktop(), and xxxCreateWindowStation().

TERMINAL gTermNOIO

| Definition at line 646 of file ntuser/kernel/globals.c. Referenced by InitiateWin32kCleanup(), ProcessMouseInput(), and xxxCreateWindowStation().

PFILE_OBJECT gThinwireFileObject

| Definition at line 970 of file ntuser/kernel/globals.c. Referenced by InitiateWin32kCleanup(), RemoteConnect(), RemotePassthruDisable(), Win32kNtUserCleanup(), xxxRemoteDisconnect(), xxxRemotePassthruEnable(), and xxxRemoteReconnect().

DWORD gtimeStartCursorHide

| Definition at line 194 of file ntuser/kernel/globals.c. Referenced by xxxHungAppDemon(), zzzCalcStartCursorHide(), and zzzUpdateCursorImage().

ULONG gTKExtraInformation

| Definition at line 138 of file ntuser/kernel/globals.c. Referenced by ToggleKeys(), and xxxToggleKeysTimer().

int gTKNextProcIndex

| Definition at line 139 of file ntuser/kernel/globals.c. Referenced by ToggleKeys(), and xxxToggleKeysTimer().

BYTE gTKScanCode

| Definition at line 441 of file ntuser/kernel/globals.c. Referenced by ToggleKeys(), and xxxToggleKeysTimer().

UINT_PTR gtmridAccessTimeOut

| Definition at line 144 of file ntuser/kernel/globals.c. Referenced by AccessTimeOutReset(), and ProcessKeyboardInput().

UINT_PTR gtmridAniCursor

| Definition at line 261 of file ntuser/kernel/globals.c. Referenced by zzzUpdateCursorImage().

UINT_PTR gtmridFKAcceptanceDelay

| Definition at line 126 of file ntuser/kernel/globals.c. Referenced by FilterKeys(), FKActivationTimer(), StopFilterKeysTimers(), xxxFKAcceptanceDelayTimer(), and xxxFKRepeatRateTimer().

UINT_PTR gtmridFKActivation

| Definition at line 124 of file ntuser/kernel/globals.c. Referenced by FilterKeys(), FKActivationTimer(), and ProcessMouseInput().

UINT_PTR gtmridFKResponse

| Definition at line 125 of file ntuser/kernel/globals.c. Referenced by FilterKeys(), FKActivationTimer(), StopFilterKeysTimers(), xxxFKAcceptanceDelayTimer(), and xxxFKRepeatRateTimer().

UINT_PTR gtmridMKMoveCursor

| Definition at line 151 of file ntuser/kernel/globals.c. Referenced by MouseKeys(), xxxMKMouseMove(), and xxxMKMoveAccelCursorTimer().

UINT_PTR gtmridSoundSentry

| Definition at line 157 of file ntuser/kernel/globals.c. Referenced by _UserSoundSentryWorker(), and SoundSentryTimer().

UINT_PTR gtmridToggleKeys

| Definition at line 137 of file ntuser/kernel/globals.c. Referenced by ToggleKeys().

TOGGLEKEYS gToggleKeys

| Definition at line 110 of file ntuser/kernel/globals.c. Referenced by xxxSystemParametersInfo(), and xxxUpdatePerUserAccessPackSettings().

UINT guDdeSendTimeout

| Definition at line 283 of file ntuser/kernel/globals.c. Referenced by LW_LoadProfileInitData(), and xxxSendMessageTimeout().

UINT guiActivateShellWindow

| Definition at line 789 of file ntuser/kernel/globals.c. Referenced by SetupClassAtoms(), and xxxDestroyThreadInfo().

UINT guiOtherWindowCreated

| Definition at line 787 of file ntuser/kernel/globals.c. Referenced by PostShellHookMessages(), and SetupClassAtoms().

UINT guiOtherWindowDestroyed

| Definition at line 788 of file ntuser/kernel/globals.c. Referenced by PostShellHookMessages(), and SetupClassAtoms().

ULONG guKbdTblSize

| Definition at line 975 of file ntuser/kernel/globals.c. Referenced by ChangeForegroundKeyboardTable(), and xxxRemotePassthruEnable().

DWORD gUserPostMessageLimit = INITIAL_POSTMESSAGE_LIMIT

| Definition at line 685 of file ntuser/kernel/globals.c. Referenced by AllocQEntry(), and Win32UserInitialize().

LONG gUserProcessHandleQuota = INITIAL_USER_HANDLE_QUOTA

| Definition at line 678 of file ntuser/kernel/globals.c. Referenced by HMAllocObject(), and Win32UserInitialize().

UINT guSFWLockCount

| Definition at line 202 of file ntuser/kernel/globals.c. Referenced by GiveUpForeground(), and UPDWORDValue().

PFILE_OBJECT gVideoFileObject

| Definition at line 969 of file ntuser/kernel/globals.c. Referenced by RemoteConnect(), and Win32kNtUserCleanup().

UINT gvkSAS

| Definition at line 606 of file ntuser/kernel/globals.c. Referenced by _RegisterHotKey(), and IsSAS().

UINT gwinOldAppHackoMaticFlags

| Definition at line 235 of file ntuser/kernel/globals.c. Referenced by xxxHandleMenuMessages(), and xxxMNKeyDown().

WSINFO gWinStationInfo

| Definition at line 929 of file ntuser/kernel/globals.c. Referenced by _GetWinStationInfo(), and RemoteConnect().

WORD gwMKButtonState

| Definition at line 149 of file ntuser/kernel/globals.c. Referenced by xxxHardwareMouseKeyUp(), xxxMKButtonSetState(), xxxRemoteStopScreenUpdates(), and xxxSystemParametersInfo().

WORD gwMKCurrentButton = MOUSE_BUTTON_LEFT

| Definition at line 150 of file ntuser/kernel/globals.c. Referenced by MKButtonSelect(), xxxMKButtonSetState(), xxxMKToggleMouseKeys(), xxxRemoteStopScreenUpdates(), and xxxSystemParametersInfo().

UINT gwMouseOwnerButton

| Definition at line 221 of file ntuser/kernel/globals.c. Referenced by ProcessDeviceChanges(), xxxButtonEvent(), xxxNextWindow(), and zzzCancelJournalling().

UINT gwWPStyle

| Definition at line 28 of file ntuser/kernel/globals.c. Referenced by xxxDrawWallpaper(), xxxLoadDesktopWallpaper(), and xxxSetDeskWallpaper().

CONST ALWAYSZERO gZero

| Definition at line 640 of file ntuser/kernel/globals.c.

HANDLE hModClient

| Definition at line 735 of file ntuser/kernel/globals.c. Referenced by _GetClassInfoEx(), GetClassPtr(), and InitializeClientPfnArrays().

HANDLE hModuleWin

| Definition at line 734 of file ntuser/kernel/globals.c. Referenced by _GetClassInfoEx(), CheckDesktopPolicy(), FastGetProfileIntFromID(), FastGetProfileIntsW(), FastGetProfileStringFromIDW(), FastGetProfileValue(), FastUpdateWinIni(), FastWriteProfileValue(), GetDeskWallpaperName(), GetVersionInfo(), HMChangeOwnerThread(), InternalRegisterClassEx(), LW_LoadSomeStrings(), LW_RegisterWindows(), RtlLoadStringOrError(), UpdateWinIniInt(), xxxCreateDesktop(), xxxCreateWindowStation(), xxxCsDdeInitialize(), xxxDesktopPaintCallback(), xxxFreeWindow(), xxxMNOpenHierarchy(), xxxSetDeskPattern(), xxxSystemParametersInfo(), and xxxUpdatePerUserSystemParameters().

CONST GENERIC_MAPPING KeyMapping = {KEY_READ, KEY_WRITE, KEY_EXECUTE, KEY_ALL_ACCESS}

| Definition at line 804 of file ntuser/kernel/globals.c. Referenced by AccessCheckObject(), and OpenCacheKeyEx().

CONST LUID luidSystem = SYSTEM_LUID

| Definition at line 656 of file ntuser/kernel/globals.c. Referenced by _UserTestForWinStaAccess(), CheckAllowForeground(), InitiateShutdown(), InitPreviousUserString(), NotifyLogon(), xxxCallHook2(), and xxxUpdatePerUserAccessPackSettings().

CONST WCHAR szN[] = TEXT("N")

| Definition at line 719 of file ntuser/kernel/globals.c. Referenced by LW_LoadResources().

CONST WCHAR szNull[2] = { TEXT('\0'), TEXT('\015') }

| Definition at line 712 of file ntuser/kernel/globals.c.

CONST WCHAR szOneChar[] = TEXT("0")

| Definition at line 716 of file ntuser/kernel/globals.c.

WCHAR szWindowStationDirectory[MAX_SESSION_PATH]

| Definition at line 714 of file ntuser/kernel/globals.c.

CONST WCHAR szy[] = TEXT("y")

| Definition at line 718 of file ntuser/kernel/globals.c. Referenced by LW_LoadResources().

CONST WCHAR szY[] = TEXT("Y")

| Definition at line 717 of file ntuser/kernel/globals.c. Referenced by LW_LoadResources().

LONG TraceInitialization

| Definition at line 737 of file ntuser/kernel/globals.c. Referenced by UserInitialize().

CONST GENERIC_MAPPING WinStaMapping

Initial value:

     {
        WINSTA_ENUMDESKTOPS | WINSTA_READATTRIBUTES | WINSTA_ENUMERATE |
            WINSTA_READSCREEN | STANDARD_RIGHTS_READ,

        WINSTA_ACCESSCLIPBOARD | WINSTA_CREATEDESKTOP | WINSTA_WRITEATTRIBUTES |
            STANDARD_RIGHTS_WRITE,

        WINSTA_ACCESSGLOBALATOMS | WINSTA_EXITWINDOWS | STANDARD_RIGHTS_EXECUTE,

        WINSTA_ENUMDESKTOPS | WINSTA_READATTRIBUTES | WINSTA_ENUMERATE |
            WINSTA_READSCREEN | WINSTA_ACCESSCLIPBOARD | WINSTA_CREATEDESKTOP |
            WINSTA_WRITEATTRIBUTES | WINSTA_ACCESSGLOBALATOMS |
            WINSTA_EXITWINDOWS | STANDARD_RIGHTS_REQUIRED
    }

Definition at line 805 of file ntuser/kernel/globals.c.

Referenced by _BuildNameList(), _UserTestForWinStaAccess(), InitSecurity(), ReferenceWindowStation(), Win32UserInitialize(), and xxxCreateWindowStation().