Go to the source code of this file.
Defines | |
#define | TEST_ACCESSFLAG(s, f) TEST_FLAG(g##s.dwFlags, f) |
#define | TEST_BOOL_ACCESSFLAG(s, f) TEST_BOOL_FLAG(g##s.dwFlags, f) |
#define | SET_ACCESSFLAG(s, f) SET_FLAG(g##s.dwFlags, f) |
#define | CLEAR_ACCESSFLAG(s, f) CLEAR_FLAG(g##s.dwFlags, f) |
#define | SET_OR_CLEAR_ACCESSFLAG(s, f, fSet) SET_OR_CLEAR_FLAG(g##s.dwFlags, f, fSet) |
#define | TOGGLE_ACCESSFLAG(s, f) TOGGLE_FLAG(g##s.dwFlags, f) |
#define | RIGHTSHIFTBIT 0x2 |
#define | ONLYRIGHTSHIFTDOWN(state) ((state) == RIGHTSHIFTBIT) |
#define | FKFIRSTWARNINGTIME 4000 |
#define | FKACTIVATIONDELTA 4000 |
#define | FKEMERGENCY1DELTA 4000 |
#define | FKEMERGENCY2DELTA 4000 |
#define | FKIDLE 0 |
#define | FKFIRSTWARNING 1 |
#define | FKTOGGLE 2 |
#define | FKFIRSTLEVELEMERGENCY 3 |
#define | FKSECONDLEVELEMERGENCY 4 |
#define | FKMOUSEMOVE 8 |
#define | TOGGLE_STICKYKEYS_COUNT 5 |
#define | UNION(x, y) ((x) | (y)) |
#define | LEFTSHIFTKEY(key) (((key) & 0xff) == VK_LSHIFT) |
#define | RIGHTSHIFTKEY(key) (((key) & 0xff) == VK_RSHIFT) |
#define | LEFTORRIGHTSHIFTKEY(key) (LEFTSHIFTKEY(key) || RIGHTSHIFTKEY(key)) |
#define | TOGGLEKEYTOGGLETIME 5000 |
#define | MOUSE_BUTTON_LEFT 0x0001 |
#define | MOUSE_BUTTON_RIGHT 0x0002 |
#define | MOUSEKEYMODBITS 0x11 |
#define | LRALT 0x30 |
#define | LRCONTROL 0x0c |
#define | LRSHIFT 0x03 |
#define | LRWIN 0xc0 |
#define | VK_U 0x55 |
#define | MK_UP 0xFF00 |
#define | MK_DOWN 0x0100 |
#define | MK_RIGHT 0x0001 |
#define | MK_LEFT 0x00FF |
#define | MOUSETIMERRATE 50 |
#define | MOUSETICKS (1000 / MOUSETIMERRATE) |
#define | MK_CONTROL_SPEED 4 |
Typedefs | |
typedef BOOL(* | ACCESSIBILITYPROC )(PKE, ULONG, int) |
typedef BOOL(* | BEEPPROC )(void) |
typedef BOOL(* | MOUSEPROC )(USHORT) |
Functions | |
BOOL | FilterKeys (PKE, ULONG, int) |
BOOL | xxxStickyKeys (PKE, ULONG, int) |
BOOL | MouseKeys (PKE, ULONG, int) |
BOOL | ToggleKeys (PKE, ULONG, int) |
BOOL | HighContrastHotKey (PKE, ULONG, int) |
BOOL | UtilityManager (PKE, ULONG, int) |
BOOL | AccessProceduresStream (PKE, ULONG, int) |
VOID | SetAccessEnabledFlag (VOID) |
VOID | StopFilterKeysTimers (VOID) |
BOOL | HighBeep (void) |
BOOL | LowBeep (void) |
BOOL | KeyClick (void) |
BOOL | UpSiren (void) |
BOOL | DownSiren (void) |
BOOL | DoBeep (BEEPPROC BeepProc, UINT Count) |
BOOL | xxxTwoKeysDown (int) |
VOID | SetGlobalCursorLevel (INT iCursorLevel) |
VOID | xxxUpdateModifierState (int, int) |
VOID | xxxTurnOffStickyKeys (VOID) |
VOID | xxxHardwareMouseKeyUp (DWORD) |
VOID | TurnOffMouseKeys (VOID) |
BOOL | xxxMKButtonClick (USHORT) |
BOOL | xxxMKMouseMove (USHORT) |
BOOL | xxxMKButtonSetState (USHORT) |
BOOL | MKButtonSelect (USHORT) |
BOOL | xxxMKButtonDoubleClick (USHORT) |
BOOL | xxxMKToggleMouseKeys (USHORT) |
VOID | MKShowMouseCursor (VOID) |
VOID | MKHideMouseCursor (VOID) |
VOID | CalculateMouseTable (VOID) |
VOID | AccessTimeOutReset (VOID) |
VOID | xxxAccessTimeOutTimer (PWND, UINT, UINT_PTR, LPARAM) |
BOOL | _UserSoundSentryWorker (VOID) |
|
Definition at line 51 of file access.h. Referenced by FKActivationTimer(), HighContrastHotKey(), TurnOffMouseKeys(), xxxAccessTimeOutTimer(), xxxToggleKeysTimer(), xxxTurnOffStickyKeys(), xxxTwoKeysDown(), and xxxUpdatePerUserAccessPackSettings(). |
|
Definition at line 59 of file access.h. Referenced by FKActivationTimer(). |
|
Definition at line 60 of file access.h. Referenced by FKActivationTimer(). |
|
Definition at line 61 of file access.h. Referenced by FKActivationTimer(). |
|
Definition at line 69 of file access.h. Referenced by FKActivationTimer(). |
|
Definition at line 67 of file access.h. Referenced by FilterKeys(), and FKActivationTimer(). |
|
Definition at line 58 of file access.h. Referenced by FilterKeys(). |
|
Definition at line 66 of file access.h. Referenced by FilterKeys(). |
|
Definition at line 71 of file access.h. Referenced by FilterKeys(), and ProcessMouseInput(). |
|
Definition at line 70 of file access.h. Referenced by FKActivationTimer(). |
|
Definition at line 68 of file access.h. Referenced by FKActivationTimer(). |
|
|
|
Definition at line 78 of file access.h. Referenced by xxxStickyKeys(). |
|
Definition at line 103 of file access.h. Referenced by MouseKeys(). |
|
Definition at line 104 of file access.h. Referenced by MouseKeys(), xxxMKMouseMove(), xxxMKMoveAccelCursorTimer(), and xxxMKMoveConstCursorTimer(). |
|
Definition at line 105 of file access.h. Referenced by xxxMKMoveAccelCursorTimer(), and xxxMKMoveConstCursorTimer(). |
|
Definition at line 106 of file access.h. Referenced by UtilityManager(). |
|
Definition at line 122 of file access.h. Referenced by xxxMKMouseMove(), xxxMKMoveAccelCursorTimer(), and xxxMKMoveConstCursorTimer(). |
|
|
|
|
|
|
|
|
|
Definition at line 99 of file access.h. Referenced by xxxButtonEvent(), xxxMKButtonSetState(), xxxMKToggleMouseKeys(), and xxxRemoteStopScreenUpdates(). |
|
Definition at line 100 of file access.h. Referenced by xxxButtonEvent(), xxxMKButtonSetState(), xxxMKToggleMouseKeys(), and xxxRemoteStopScreenUpdates(). |
|
Definition at line 102 of file access.h. Referenced by HighContrastHotKey(), MouseKeys(), ToggleKeys(), and xxxMKToggleMouseKeys(). |
|
Definition at line 118 of file access.h. Referenced by CalculateMouseTable(). |
|
Definition at line 117 of file access.h. Referenced by xxxMKMouseMove(), and xxxMKMoveAccelCursorTimer(). |
|
Definition at line 57 of file access.h. Referenced by FilterKeys(). |
|
|
|
Definition at line 79 of file access.h. Referenced by xxxStickyKeys(). |
|
Definition at line 50 of file access.h. Referenced by xxxUpdatePerUserAccessPackSettings(). |
|
Definition at line 52 of file access.h. Referenced by xxxUpdatePerUserAccessPackSettings(). |
|
|
Definition at line 49 of file access.h. Referenced by xxxSystemParametersInfo(), xxxTwoKeysDown(), and xxxUpdatePerUserAccessPackSettings(). |
|
|
|
Definition at line 76 of file access.h. Referenced by xxxStickyKeys(). |
|
Definition at line 90 of file access.h. Referenced by ToggleKeys(). |
|
Definition at line 77 of file access.h. Referenced by xxxStickyKeys(). |
|
Definition at line 107 of file access.h. Referenced by UtilityManager(). |
|
|
|
|
|
|
|
Definition at line 2943 of file ntuser/kernel/access.c. References _GetDCEx(), _GetWindowDC(), _GetWindowRect(), _ReleaseDC(), CheckCritIn, ghwndSoundSentry, gpqForeground, gSoundSentry, gtmridSoundSentry, HWq, InternalSetTimer(), InvertRect(), NULL, OffsetRect(), PWNDDESKTOP, SoundSentryTimer(), tagQ::spwndActive, SYSMET, TEST_ACCESSFLAG, ThreadLock, ThreadUnlock, TRUE, and xxxFlashWindow(). Referenced by NtUserSoundSentry(), UserBeep(), xxxMessageBeep(), and xxxOldMessageBeep().
|
|
Definition at line 169 of file ntuser/kernel/access.c. References aAccessibilityProc, ARRAY_SIZE, BOOL, CheckCritIn, FALSE, and TRUE. Referenced by ProcessKeyboardInput(), xxxFKAcceptanceDelayTimer(), xxxFKRepeatRateTimer(), xxxStickyKeys(), xxxToggleKeysTimer(), and xxxUpdateModifierState().
|
|
|
|
Definition at line 1973 of file ntuser/kernel/access.c. References BYTE, gMouseCursor, gMouseKeys, MOUSETICKS, and VOID(). Referenced by xxxSystemParametersInfo(), and xxxUpdatePerUserAccessPackSettings().
|
|
Definition at line 128 of file sirens.c. References BOOL, Count, TRUE, and UserSleep(). Referenced by xxxProcessEventMessage().
|
|
Definition at line 112 of file sirens.c. References BOOL, DWORD, EnterCrit, LeaveCrit, SIREN_HIGH_FREQ, SIREN_INTERVAL, SIREN_LOW_FREQ, TRUE, and UserBeep().
|
|
Definition at line 485 of file ntuser/kernel/access.c. References ACCF_FKMAKECODEPROCESSED, ACCF_IGNOREBREAKCODE, BOOL, BYTE, CheckCritIn, CLEAR_ACCF, FALSE, FilterKeys(), FKActivationTimer(), FKBounceKeyTimer(), FKFIRSTWARNING, FKFIRSTWARNINGTIME, FKIDLE, FKMOUSEMOVE, gBounceVk, gFilterKeys, gFilterKeysState, gFKExtraInformation, gFKNextProcIndex, gLastVkDown, gpFKKeyEvent, gPhysModifierState, grpdeskRitInput, gtmridFKAcceptanceDelay, gtmridFKActivation, gtmridFKResponse, InternalSetTimer(), KILLRITTIMER, NULL, ONLYRIGHTSHIFTDOWN, PostRitSound(), tagWINDOWSTATION::pTerm, RITSOUND_KEYCLICK, tagDESKTOP::rpwinstaParent, SET_ACCF, TEST_ACCESSFLAG, TEST_ACCF, TRUE, xxxFKAcceptanceDelayTimer(), and xxxFKRepeatRateTimer(). Referenced by FilterKeys(), FKActivationTimer(), NtUserSystemParametersInfo(), SetAccessEnabledFlag(), xxxAccessTimeOutTimer(), xxxFKAcceptanceDelayTimer(), xxxFKRepeatRateTimer(), xxxSystemParametersInfo(), and xxxUpdatePerUserAccessPackSettings().
|
|
Definition at line 35 of file sirens.c. References BOOL, EnterCrit, LeaveCrit, Status, TONE_HIGH_FREQ, TONE_HIGH_LEN, and UserBeep().
|
|
Definition at line 1749 of file ntuser/kernel/access.c. References _PostMessage(), BOOL, BYTE, CheckCritIn, CLEAR_ACCESSFLAG, FALSE, gLatchBits, gLockBits, gPhysModifierState, grpdeskRitInput, gspwndLogonNotify, MOUSEKEYMODBITS, NULL, PostAccessNotification(), PostRitSound(), tagWINDOWSTATION::pTerm, RITSOUND_DOWNSIREN, RITSOUND_UPSIREN, tagDESKTOP::rpwinstaParent, TEST_ACCESSFLAG, and TRUE.
|
|
Definition at line 71 of file sirens.c. References BOOL, EnterCrit, LeaveCrit, Status, TONE_CLICK_FREQ, TONE_CLICK_LEN, and UserBeep().
|
|
Definition at line 53 of file sirens.c. References BOOL, EnterCrit, LeaveCrit, Status, TONE_LOW_FREQ, TONE_LOW_LEN, and UserBeep().
|
|
|
|
|
|
|
|
Definition at line 1813 of file ntuser/kernel/access.c. References ACCF_MKREPEATVK, aMouseKeyEvent, ausMouseKeyData, ausMouseVKey, BOOL, BYTE, CheckCritIn, CLEAR_ACCF, cMouseVKeys, FALSE, gbMKMouseMode, gLatchBits, gLockBits, gMKPreviousVk, gNumLockVk, gPhysModifierState, gpusMouseVKey, grpdeskRitInput, gtmridMKMoveCursor, KILLRITTIMER, LRALT, LRCONTROL, MOUSEKEYMODBITS, MouseKeys(), NULL, PostAccessNotification(), PostRitSound(), tagWINDOWSTATION::pTerm, RITSOUND_UPSIREN, tagDESKTOP::rpwinstaParent, SET_OR_CLEAR_ACCF, TEST_ACCESSFLAG, TEST_ACCF, TRUE, and USHORT. Referenced by MouseKeys(), NtUserSystemParametersInfo(), SetAccessEnabledFlag(), ToggleKeys(), TurnOffMouseKeys(), xxxAccessTimeOutTimer(), xxxButtonEvent(), xxxHardwareMouseKeyUp(), xxxMKMouseMove(), xxxMKMoveAccelCursorTimer(), xxxMKMoveConstCursorTimer(), xxxMKToggleMouseKeys(), xxxSystemParametersInfo(), and xxxUpdatePerUserAccessPackSettings().
|
|
Definition at line 2881 of file ntuser/kernel/access.c. References ACCF_ACCESSENABLED, ACCF_SHOWSOUNDSON, FilterKeys(), MouseKeys(), SET_OR_CLEAR_ACCF, TEST_ACCESSFLAG, TEST_ACCF, ToggleKeys(), and VOID(). Referenced by xxxAccessTimeOutTimer(), xxxSystemParametersInfo(), and xxxUpdatePerUserAccessPackSettings().
|
|
Definition at line 1212 of file ntuser/kernel/access.c. References gpepCSRSS, grpdeskRitInput, tagQ::iCursorLevel, tagTHREADINFO::iCursorLevel, NULL, PpiFromProcess, tagTHREADINFO::pq, tagDESKTOP::PtiList, tagTHREADINFO::ptiSibling, tagWINDOWSTATION::rpdeskList, tagDESKTOP::rpdeskNext, tagDESKTOP::rpwinstaParent, THREADINFO, and VOID(). Referenced by MKHideMouseCursor(), MKShowMouseCursor(), and ProcessDeviceChanges().
|
|
Definition at line 717 of file ntuser/kernel/access.c. References gBounceVk, gLastVkDown, gtmridFKAcceptanceDelay, gtmridFKResponse, KILLRITTIMER, NULL, and VOID(). Referenced by xxxSystemParametersInfo().
|
|
Definition at line 2108 of file ntuser/kernel/access.c. References BOOL, BYTE, CheckCritIn, gLatchBits, gLockBits, gNumLockVk, gOemScrollVk, gPhysModifierState, grpdeskRitInput, gTKExtraInformation, gTKNextProcIndex, gTKScanCode, gtmridToggleKeys, InternalSetTimer(), KILLRITTIMER, MOUSEKEYMODBITS, MouseKeys(), NULL, PostRitSound(), tagWINDOWSTATION::pTerm, RITSOUND_HIGHBEEP, RITSOUND_LOWBEEP, tagDESKTOP::rpwinstaParent, TEST_ACCESSFLAG, TestAsyncKeyStateDown, TestAsyncKeyStateToggle, ToggleKeys(), TOGGLEKEYTOGGLETIME, TRUE, and xxxToggleKeysTimer(). Referenced by NtUserSystemParametersInfo(), SetAccessEnabledFlag(), ToggleKeys(), xxxAccessTimeOutTimer(), xxxSystemParametersInfo(), xxxToggleKeysTimer(), and xxxUpdatePerUserAccessPackSettings().
|
|
Definition at line 1944 of file ntuser/kernel/access.c. References ACCF_MKREPEATVK, CLEAR_ACCESSFLAG, CLEAR_ACCF, grpdeskRitInput, MKHideMouseCursor(), MouseKeys(), PostAccessibility(), PostRitSound(), tagWINDOWSTATION::pTerm, RITSOUND_DOWNSIREN, tagDESKTOP::rpwinstaParent, TEST_ACCESSFLAG, and VOID(). Referenced by xxxMKToggleMouseKeys().
|
|
Definition at line 89 of file sirens.c. References BOOL, DWORD, EnterCrit, LeaveCrit, SIREN_HIGH_FREQ, SIREN_INTERVAL, SIREN_LOW_FREQ, TRUE, and UserBeep().
|
|
Definition at line 3045 of file ntuser/kernel/access.c. References BOOL, BYTE, CheckCritIn, FALSE, gLatchBits, gLockBits, gPhysModifierState, LRWIN, PostAccessNotification(), TRUE, and VK_U.
|
|
Definition at line 2225 of file ntuser/kernel/access.c. References _PostMessage(), ACCF_SHOWSOUNDSON, CheckCritIn, CLEAR_ACCESSFLAG, CLEAR_ACCF, FilterKeys(), grpdeskRitInput, gspwndLogonNotify, MouseKeys(), NULL, PostAccessibility(), PostRitSound(), tagWINDOWSTATION::pTerm, RITSOUND_DOWNSIREN, tagDESKTOP::rpwinstaParent, SetAccessEnabledFlag(), TEST_ACCESSFLAG, TEST_ACCF, ToggleKeys(), VOID(), and xxxTurnOffStickyKeys(). Referenced by AccessTimeOutReset(), and ProcessKeyboardInput().
|
|
Definition at line 1149 of file ntuser/kernel/access.c. References CheckCritIn, gwMKButtonState, MouseKeys(), TEST_ACCESSFLAG, VOID(), and xxxUnlatchStickyKeys(). Referenced by xxxButtonEvent().
|
|
Definition at line 1444 of file ntuser/kernel/access.c. References ACCF_MKREPEATVK, BOOL, FALSE, TEST_ACCF, TRUE, and xxxMKButtonSetState(). Referenced by xxxMKButtonDoubleClick().
|
|
Definition at line 1740 of file ntuser/kernel/access.c. References BOOL, FALSE, and xxxMKButtonClick().
|
|
Definition at line 1675 of file ntuser/kernel/access.c. References BOOL, CheckCritIn, FALSE, gptCursorAsync, gwMKButtonState, gwMKCurrentButton, L, MOUSE_BUTTON_LEFT, MOUSE_BUTTON_RIGHT, NtGetTickCount(), PostAccessibility(), and xxxButtonEvent(). Referenced by xxxMKButtonClick(), and xxxMKToggleMouseKeys().
|
|
Definition at line 1616 of file ntuser/kernel/access.c. References ACCF_MKREPEATVK, BOOL, CHAR, EnterCrit, FALSE, gFilterKeys, giMouseMoveTable, gLatchBits, gLockBits, gMKDeltaX, gMKDeltaY, gMouseCursor, gPhysModifierState, gptCursorAsync, gtmridMKMoveCursor, HIBYTE, InternalSetTimer(), LeaveCrit, LOBYTE, LRCONTROL, MK_CONTROL_SPEED, MouseKeys(), MOUSETIMERRATE, NtGetTickCount(), NULL, QueueMouseEvent(), TEST_ACCESSFLAG, TEST_ACCF, TRUE, xxxMKMoveAccelCursorTimer(), xxxMKMoveConstCursorTimer(), and xxxMoveEvent().
|
|
Definition at line 1356 of file ntuser/kernel/access.c. References ACCF_MKREPEATVK, BOOL, FALSE, gbMKMouseMode, gLatchBits, gLockBits, gNumLockVk, gPhysModifierState, grpdeskRitInput, gwMKCurrentButton, MOUSE_BUTTON_LEFT, MOUSE_BUTTON_RIGHT, MOUSEKEYMODBITS, MouseKeys(), PostAccessibility(), PostRitSound(), tagWINDOWSTATION::pTerm, RITSOUND_HIGHBEEP, RITSOUND_LOWBEEP, tagDESKTOP::rpwinstaParent, TEST_ACCESSFLAG, TEST_ACCF, TestAsyncKeyStateToggle, TRUE, TurnOffMouseKeys(), and xxxMKButtonSetState().
|
|
Definition at line 738 of file ntuser/kernel/access.c. References AccessProceduresStream(), BOOL, BYTE, CheckCritIn, FALSE, gCurrentModifierBit, gLatchBits, gLockBits, gPhysModifierState, gPrevModifierState, grpdeskRitInput, gStickyKeysLeftShiftCount, gStickyKeysRightShiftCount, LEFTSHIFTKEY, PostAccessibility(), PostAccessNotification(), PostRitSound(), tagWINDOWSTATION::pTerm, RIGHTSHIFTKEY, RITSOUND_DOWNSIREN, RITSOUND_HIGHBEEP, RITSOUND_LOWBEEP, RITSOUND_UPSIREN, tagDESKTOP::rpwinstaParent, TEST_ACCESSFLAG, TOGGLE_STICKYKEYS_COUNT, TRUE, UNION, xxxProcessKeyEvent(), xxxTurnOffStickyKeys(), xxxTwoKeysDown(), and xxxUpdateModifierState(). Referenced by xxxTurnOffStickyKeys(), and xxxUnlatchStickyKeys().
|
|
Definition at line 1077 of file ntuser/kernel/access.c. References aAccessibilityProc, ARRAY_SIZE, CheckCritIn, CLEAR_ACCESSFLAG, gLatchBits, gLockBits, gPhysModifierState, INT, PostAccessibility(), VOID(), xxxStickyKeys(), and xxxUpdateModifierState(). Referenced by xxxAccessTimeOutTimer(), xxxStickyKeys(), xxxSystemParametersInfo(), and xxxUpdatePerUserAccessPackSettings().
|
|
|
Definition at line 1037 of file ntuser/kernel/access.c. References AccessProceduresStream(), aModBit, ARRAY_SIZE, tagMODBITINFO::BitPosition, BYTE, CheckCritIn, FALSE, gLatchBits, gLockBits, L, tagMODBITINFO::ScanCode, tagMODBITINFO::Vk, VOID(), and xxxProcessKeyEvent(). Referenced by xxxStickyKeys(), xxxTurnOffStickyKeys(), xxxTwoKeysDown(), and xxxUnlatchStickyKeys().
|