AutoHotkey_L  1.1.33.09
About: AutoHotkey is a macro-creation and automation-oriented scripting utility for Windows that allows to create scripts for all kinds of tasks such as form fillers, auto-clicking, macros, etc. Source Code.
  Fossies Dox: AutoHotkey_L-1.1.33.09.zip  ("unofficial" and yet experimental doxygen-generated source code documentation)  

hook.h File Reference
#include "hotkey.h"
#include "input_object.h"
Include dependency graph for hook.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  vk_hotkey
 
struct  sc_hotkey
 
struct  key_type
 
struct  input_type
 
struct  KeyHistoryItem
 

Macros

#define TRANSLATE_AHK_MSG(msg, wparam)
 
#define ASK_INSTANCE_TO_CLOSE(hwnd, reason)   PostMessage(hwnd, WM_COMMNOTIFY, reason, 0);
 
#define POST_AHK_USER_MENU(hwnd, menu, gui_hwnd)   PostMessage(hwnd, AHK_USER_MENU, gui_hwnd, menu);
 
#define POST_AHK_GUI_ACTION(hwnd, control_index, gui_event, event_info)
 
#define POST_AHK_DIALOG(timeout)   PostMessage(g_hWnd, WM_COMMNOTIFY, AHK_DIALOG, (LPARAM)timeout);
 
#define PREFIX_ACTUAL   1
 
#define PREFIX_FORCED   2
 
#define AS_PREFIX   1
 
#define AS_PREFIX_FOR_HOTKEY   2
 
#define RESET_KEYTYPE_ATTRIB(item)
 
#define VK_ARRAY_COUNT   (VK_MAX + 1)
 
#define SC_ARRAY_COUNT   (SC_MAX + 1)
 
#define INPUT_BUFFER_SIZE   16384
 
#define INPUTHOOK_BUFFER_SIZE   1024
 
#define END_KEY_WITH_SHIFT   0x01
 
#define END_KEY_WITHOUT_SHIFT   0x02
 
#define END_KEY_ENABLED   (END_KEY_WITH_SHIFT | END_KEY_WITHOUT_SHIFT)
 
#define INPUT_KEY_SUPPRESS   0x04
 
#define INPUT_KEY_VISIBLE   0x08
 
#define INPUT_KEY_VISIBILITY_MASK   (INPUT_KEY_SUPPRESS | INPUT_KEY_VISIBLE)
 
#define INPUT_KEY_IGNORE_TEXT   0x10
 
#define INPUT_KEY_NOTIFY   0x20
 
#define INPUT_KEY_OPTION_MASK   0x3F
 
#define INPUT_KEY_IS_TEXT   0x40
 
#define INPUT_KEY_DOWN_SUPPRESSED   0x80
 
#define INPUT_ARRAY_BLOCK_SIZE   1024
 
#define KEY_HISTORY_WINDOW_TITLE_SIZE   100
 
#define HOTSTRING_INDEX_INVALID   INT_MAX
 
#define SuppressThisKey   SuppressThisKeyFunc(aHook, lParam, aVK, aSC, aKeyUp, aExtraInfo, pKeyHistoryCurr, hotkey_id_to_post)
 
#define AllowKeyToGoToSystem   AllowIt(aHook, aCode, wParam, lParam, aVK, aSC, aKeyUp, aExtraInfo, pKeyHistoryCurr, hotkey_id_to_post)
 

Enumerations

enum  UserMessages {
  AHK_HOOK_HOTKEY = WM_USER , AHK_HOTSTRING , AHK_USER_MENU , AHK_DIALOG ,
  AHK_NOTIFYICON , AHK_RETURN_PID , AHK_EXIT_BY_RELOAD , AHK_EXIT_BY_SINGLEINSTANCE ,
  AHK_CHECK_DEBUGGER , AHK_GUI_ACTION = WM_USER+20 , AHK_CLIPBOARD_CHANGE , AHK_HOOK_TEST_MSG ,
  AHK_CHANGE_HOOK_STATE , AHK_GETWINDOWTEXT , AHK_HOT_IF_EVAL , AHK_HOOK_SYNC ,
  AHK_INPUT_END , AHK_INPUT_KEYDOWN , AHK_INPUT_CHAR , AHK_INPUT_KEYUP
}
 
enum  InputStatusType {
  INPUT_OFF , INPUT_IN_PROGRESS , INPUT_TIMED_OUT , INPUT_TERMINATED_BY_MATCH ,
  INPUT_TERMINATED_BY_ENDKEY , INPUT_LIMIT_REACHED , INPUT_INTERRUPTED
}
 

Functions

ResultType InputStart (input_type &input, Var *output_var=NULL)
 
ResultType InputWait (Var *output_var, input_type &input)
 
input_typeInputRelease (input_type *aInput)
 
input_typeInputFind (InputObject *object)
 
LRESULT CALLBACK LowLevelKeybdProc (int aCode, WPARAM wParam, LPARAM lParam)
 
LRESULT CALLBACK LowLevelMouseProc (int aCode, WPARAM wParam, LPARAM lParam)
 
LRESULT LowLevelCommon (const HHOOK aHook, int aCode, WPARAM wParam, LPARAM lParam, const vk_type aVK, sc_type aSC, bool aKeyUp, ULONG_PTR aExtraInfo, DWORD aEventFlags)
 
LRESULT SuppressThisKeyFunc (const HHOOK aHook, LPARAM lParam, const vk_type aVK, const sc_type aSC, bool aKeyUp, ULONG_PTR aExtraInfo, KeyHistoryItem *pKeyHistoryCurr, WPARAM aHotkeyIDToPost, WPARAM aHSwParamToPost=INT_MAX, LPARAM aHSlParamToPost=0)
 
LRESULT AllowIt (const HHOOK aHook, int aCode, WPARAM wParam, LPARAM lParam, const vk_type aVK, const sc_type aSC, bool aKeyUp, ULONG_PTR aExtraInfo, KeyHistoryItem *pKeyHistoryCurr, WPARAM aHotkeyIDToPost)
 
bool CollectInput (KBDLLHOOKSTRUCT &aEvent, const vk_type aVK, const sc_type aSC, bool aKeyUp, bool aIsIgnored, KeyHistoryItem *pKeyHistoryCurr, WPARAM &aHotstringWparamToPost, LPARAM &aHotstringLparamToPost)
 
bool CollectHotstring (KBDLLHOOKSTRUCT &aEvent, TCHAR aChar[], int aCharCount, HWND aActiveWindow, KeyHistoryItem *pKeyHistoryCurr, WPARAM &aHotstringWparamToPost, LPARAM &aHotstringLparamToPost)
 
bool CollectInputHook (KBDLLHOOKSTRUCT &aEvent, const vk_type aVK, const sc_type aSC, TCHAR aChar[], int aCharCount, bool aIsIgnored)
 
bool IsHotstringWordChar (TCHAR aChar)
 
void UpdateKeybdState (KBDLLHOOKSTRUCT &aEvent, const vk_type aVK, const sc_type aSC, bool aKeyUp, bool aIsSuppressed)
 
bool KeybdEventIsPhysical (DWORD aEventFlags, const vk_type aVK, bool aKeyUp)
 
void ChangeHookState (Hotkey *aHK[], int aHK_count, HookType aWhichHook, HookType aWhichHookAlways)
 
void AddRemoveHooks (HookType aHooksToBeActive, bool aChangeIsTemporary=false)
 
bool HookAdjustMaxHotkeys (Hotkey **&aHK, int &aCurrentMax, int aNewMax)
 
bool SystemHasAnotherKeybdHook ()
 
bool SystemHasAnotherMouseHook ()
 
DWORD WINAPI HookThreadProc (LPVOID aUnused)
 
void LinkKeysForCustomCombo (vk_type aNeutral, vk_type aLeft, vk_type aRight)
 
void ResetHook (bool aAllModifiersUp=false, HookType aWhichHook=(0x01|0x02), bool aResetKVKandKSC=false)
 
HookType GetActiveHooks ()
 
void FreeHookMem ()
 
void ResetKeyTypeState (key_type &key)
 
void GetHookStatus (LPTSTR aBuf, int aBufSize)
 
void WaitHookIdle ()
 

Macro Definition Documentation

◆ AllowKeyToGoToSystem

#define AllowKeyToGoToSystem   AllowIt(aHook, aCode, wParam, lParam, aVK, aSC, aKeyUp, aExtraInfo, pKeyHistoryCurr, hotkey_id_to_post)

Definition at line 306 of file hook.h.

◆ AS_PREFIX

#define AS_PREFIX   1

Definition at line 142 of file hook.h.

◆ AS_PREFIX_FOR_HOTKEY

#define AS_PREFIX_FOR_HOTKEY   2

Definition at line 143 of file hook.h.

◆ ASK_INSTANCE_TO_CLOSE

#define ASK_INSTANCE_TO_CLOSE (   hwnd,
  reason 
)    PostMessage(hwnd, WM_COMMNOTIFY, reason, 0);

Definition at line 74 of file hook.h.

◆ END_KEY_ENABLED

#define END_KEY_ENABLED   (END_KEY_WITH_SHIFT | END_KEY_WITHOUT_SHIFT)

Definition at line 176 of file hook.h.

◆ END_KEY_WITH_SHIFT

#define END_KEY_WITH_SHIFT   0x01

Definition at line 174 of file hook.h.

◆ END_KEY_WITHOUT_SHIFT

#define END_KEY_WITHOUT_SHIFT   0x02

Definition at line 175 of file hook.h.

◆ HOTSTRING_INDEX_INVALID

#define HOTSTRING_INDEX_INVALID   INT_MAX

Definition at line 300 of file hook.h.

◆ INPUT_ARRAY_BLOCK_SIZE

#define INPUT_ARRAY_BLOCK_SIZE   1024

Definition at line 200 of file hook.h.

◆ INPUT_BUFFER_SIZE

#define INPUT_BUFFER_SIZE   16384

Definition at line 167 of file hook.h.

◆ INPUT_KEY_DOWN_SUPPRESSED

#define INPUT_KEY_DOWN_SUPPRESSED   0x80

Definition at line 184 of file hook.h.

◆ INPUT_KEY_IGNORE_TEXT

#define INPUT_KEY_IGNORE_TEXT   0x10

Definition at line 180 of file hook.h.

◆ INPUT_KEY_IS_TEXT

#define INPUT_KEY_IS_TEXT   0x40

Definition at line 183 of file hook.h.

◆ INPUT_KEY_NOTIFY

#define INPUT_KEY_NOTIFY   0x20

Definition at line 181 of file hook.h.

◆ INPUT_KEY_OPTION_MASK

#define INPUT_KEY_OPTION_MASK   0x3F

Definition at line 182 of file hook.h.

◆ INPUT_KEY_SUPPRESS

#define INPUT_KEY_SUPPRESS   0x04

Definition at line 177 of file hook.h.

◆ INPUT_KEY_VISIBILITY_MASK

#define INPUT_KEY_VISIBILITY_MASK   (INPUT_KEY_SUPPRESS | INPUT_KEY_VISIBLE)

Definition at line 179 of file hook.h.

◆ INPUT_KEY_VISIBLE

#define INPUT_KEY_VISIBLE   0x08

Definition at line 178 of file hook.h.

◆ INPUTHOOK_BUFFER_SIZE

#define INPUTHOOK_BUFFER_SIZE   1024

Definition at line 168 of file hook.h.

◆ KEY_HISTORY_WINDOW_TITLE_SIZE

#define KEY_HISTORY_WINDOW_TITLE_SIZE   100

Definition at line 287 of file hook.h.

◆ POST_AHK_DIALOG

#define POST_AHK_DIALOG (   timeout)    PostMessage(g_hWnd, WM_COMMNOTIFY, AHK_DIALOG, (LPARAM)timeout);

Definition at line 94 of file hook.h.

◆ POST_AHK_GUI_ACTION

#define POST_AHK_GUI_ACTION (   hwnd,
  control_index,
  gui_event,
  event_info 
)
Value:
PostMessage(hwnd, AHK_GUI_ACTION \
, (WPARAM)(((control_index) << 16) | (gui_event)), (LPARAM)(event_info));
@ AHK_GUI_ACTION
Definition: hook.h:31

Definition at line 81 of file hook.h.

◆ POST_AHK_USER_MENU

#define POST_AHK_USER_MENU (   hwnd,
  menu,
  gui_hwnd 
)    PostMessage(hwnd, AHK_USER_MENU, gui_hwnd, menu);

Definition at line 80 of file hook.h.

◆ PREFIX_ACTUAL

#define PREFIX_ACTUAL   1

Definition at line 128 of file hook.h.

◆ PREFIX_FORCED

#define PREFIX_FORCED   2

Definition at line 129 of file hook.h.

◆ RESET_KEYTYPE_ATTRIB

#define RESET_KEYTYPE_ATTRIB (   item)
Value:
{\
item.first_hotkey = HOTKEY_ID_INVALID;\
item.used_as_prefix = 0;\
item.used_as_suffix = false;\
item.used_as_key_up = false;\
item.no_suppress &= NO_SUPPRESS_STATES;\
item.sc_takes_precedence = false;\
}
#define NO_SUPPRESS_STATES
Definition: hotkey.h:185
#define HOTKEY_ID_INVALID
Definition: hotkey.h:34

Definition at line 152 of file hook.h.

◆ SC_ARRAY_COUNT

#define SC_ARRAY_COUNT   (SC_MAX + 1)

Definition at line 165 of file hook.h.

◆ SuppressThisKey

#define SuppressThisKey   SuppressThisKeyFunc(aHook, lParam, aVK, aSC, aKeyUp, aExtraInfo, pKeyHistoryCurr, hotkey_id_to_post)

Definition at line 301 of file hook.h.

◆ TRANSLATE_AHK_MSG

#define TRANSLATE_AHK_MSG (   msg,
  wparam 
)
Value:
if (msg == WM_COMMNOTIFY)\
{\
msg = (UINT)wparam;\
wparam = 0;\
}

Definition at line 66 of file hook.h.

◆ VK_ARRAY_COUNT

#define VK_ARRAY_COUNT   (VK_MAX + 1)

Definition at line 164 of file hook.h.

Enumeration Type Documentation

◆ InputStatusType

Enumerator
INPUT_OFF 
INPUT_IN_PROGRESS 
INPUT_TIMED_OUT 
INPUT_TERMINATED_BY_MATCH 
INPUT_TERMINATED_BY_ENDKEY 
INPUT_LIMIT_REACHED 
INPUT_INTERRUPTED 

Definition at line 170 of file hook.h.

◆ UserMessages

Enumerator
AHK_HOOK_HOTKEY 
AHK_HOTSTRING 
AHK_USER_MENU 
AHK_DIALOG 
AHK_NOTIFYICON 
AHK_RETURN_PID 
AHK_EXIT_BY_RELOAD 
AHK_EXIT_BY_SINGLEINSTANCE 
AHK_CHECK_DEBUGGER 
AHK_GUI_ACTION 
AHK_CLIPBOARD_CHANGE 
AHK_HOOK_TEST_MSG 
AHK_CHANGE_HOOK_STATE 
AHK_GETWINDOWTEXT 
AHK_HOT_IF_EVAL 
AHK_HOOK_SYNC 
AHK_INPUT_END 
AHK_INPUT_KEYDOWN 
AHK_INPUT_CHAR 
AHK_INPUT_KEYUP 

Definition at line 28 of file hook.h.

Function Documentation

◆ AddRemoveHooks()

◆ AllowIt()

◆ ChangeHookState()

void ChangeHookState ( Hotkey aHK[],
int  aHK_count,
HookType  aWhichHook,
HookType  aWhichHookAlways 
)

Definition at line 3498 of file hook.cpp.

References AddRemoveHooks(), hk_sorted_type::AllowExtraModifiers, key_type::as_modifiersLR, AT_LEAST_ONE_VARIANT_HAS_TILDE, ConvertModifiers(), ConvertModifiersLR(), key_type::first_hotkey, FreeHookMem(), g_ForceCapsLock, g_ForceNumLock, g_ForceScrollLock, g_IsSuspended, g_key_to_sc, g_key_to_sc_count, HK_TYPE_IS_HOOK, HOTKEY_ID_INVALID, HOTKEY_ID_MASK, HOTKEY_ID_MAX, HOTKEY_KEY_UP, hotkey_up, hk_sorted_type::id_with_flags, Hotkey::IsCompletelyDisabled(), Hotkey::IsExemptFromSuspend(), ksc, kscm, Kscm, KSCM_SIZE, kvk, kvkm, Kvkm, KVKM_SIZE, LinkKeysForCustomCombo(), Hotkey::mAllowExtraModifiers, Hotkey::mHookAction, Hotkey::mID, Hotkey::mKeyUp, Hotkey::mModifiers, Hotkey::mModifierSC, Hotkey::mModifiersConsolidatedLR, Hotkey::mModifiersLR, Hotkey::mModifierVK, Hotkey::mNextHotkey, Hotkey::mNoSuppress, MOD_LALT, MOD_LCONTROL, MOD_LSHIFT, MOD_LWIN, MOD_RALT, MOD_RCONTROL, MOD_RSHIFT, MOD_RWIN, hk_sorted_type::modifiers, hk_sorted_type::modifiersLR, MODLR_MAX, Hotkey::mSC, Hotkey::mType, Hotkey::mVK, key_type::no_suppress, NO_SUPPRESS_PREFIX, key_type::pForceToggle, PREFIX_ACTUAL, RESET_KEYTYPE_ATTRIB, hk_sorted_type::sc, key_to_sc_type::sc, SC_ARRAY_COUNT, SC_LALT, SC_LCONTROL, SC_LSHIFT, SC_LWIN, SC_MAX, SC_RALT, SC_RCONTROL, SC_RSHIFT, SC_RWIN, key_type::sc_takes_precedence, SetModifierAsPrefix(), Hotkey::shk, Hotkey::shkMax, Hotkey::sHotkeyCount, sort_most_general_before_least(), key_type::used_as_key_up, key_type::used_as_prefix, key_type::used_as_suffix, hk_sorted_type::vk, VK_ARRAY_COUNT, and VK_MAX.

Referenced by Hotkey::InstallKeybdHook(), Hotkey::InstallMouseHook(), and Hotkey::ManifestAllHotkeysHotstringsHooks().

◆ CollectHotstring()

◆ CollectInput()

bool CollectInput ( KBDLLHOOKSTRUCT &  aEvent,
const vk_type  aVK,
const sc_type  aSC,
bool  aKeyUp,
bool  aIsIgnored,
KeyHistoryItem pKeyHistoryCurr,
WPARAM &  aHotstringWparamToPost,
LPARAM &  aHotstringLparamToPost 
)

◆ CollectInputHook()

bool CollectInputHook ( KBDLLHOOKSTRUCT &  aEvent,
const vk_type  aVK,
const sc_type  aSC,
TCHAR  aChar[],
int  aCharCount,
bool  aIsIgnored 
)

◆ FreeHookMem()

void FreeHookMem ( )

Definition at line 4516 of file hook.cpp.

References hotkey_up, ksc, kscm, kvk, and kvkm.

Referenced by AddRemoveHooks(), and ChangeHookState().

◆ GetActiveHooks()

HookType GetActiveHooks ( )

Definition at line 4504 of file hook.cpp.

References g_KeybdHook, g_MouseHook, HOOK_KEYBD, and HOOK_MOUSE.

Referenced by AddRemoveHooks(), and SendEventArray().

◆ GetHookStatus()

◆ HookAdjustMaxHotkeys()

bool HookAdjustMaxHotkeys ( Hotkey **&  aHK,
int &  aCurrentMax,
int  aNewMax 
)

Definition at line 4021 of file hook.cpp.

References hotkey_up, and WaitHookIdle().

Referenced by Hotkey::AddHotkey().

◆ HookThreadProc()

DWORD WINAPI HookThreadProc ( LPVOID  aUnused)

◆ InputFind()

input_type* InputFind ( InputObject object)

Definition at line 2017 of file script2.cpp.

References g_input, and input_type::Prev.

Referenced by Line::Input().

◆ InputRelease()

◆ InputStart()

◆ InputWait()

ResultType InputWait ( Var output_var,
input_type input 
)

◆ IsHotstringWordChar()

bool IsHotstringWordChar ( TCHAR  aChar)

Definition at line 3155 of file hook.cpp.

Referenced by CollectHotstring().

◆ KeybdEventIsPhysical()

bool KeybdEventIsPhysical ( DWORD  aEventFlags,
const vk_type  aVK,
bool  aKeyUp 
)

◆ LinkKeysForCustomCombo()

void LinkKeysForCustomCombo ( vk_type  aNeutral,
vk_type  aLeft,
vk_type  aRight 
)

Definition at line 4063 of file hook.cpp.

References CustomComboLast(), key_type::first_hotkey, HOTKEY_ID_INVALID, and kvk.

Referenced by ChangeHookState().

◆ LowLevelCommon()

LRESULT LowLevelCommon ( const HHOOK  aHook,
int  aCode,
WPARAM  wParam,
LPARAM  lParam,
const vk_type  aVK,
sc_type  aSC,
bool  aKeyUp,
ULONG_PTR  aExtraInfo,
DWORD  aEventFlags 
)

Definition at line 368 of file hook.cpp.

References AHK_GETWINDOWTEXT, AllowKeyToGoToSystem, key_type::as_modifiersLR, AS_PREFIX, AS_PREFIX_FOR_HOTKEY, Hotkey::CriterionFiringIsCertain(), key_type::down_performed_action, KeyHistoryItem::elapsed_time, KeyHistoryItem::event_type, Hotkey::FindPairedHotkey(), key_type::first_hotkey, g_BlockWinKeys, g_HistoryHwndPrev, g_HistoryTickNow, g_HistoryTickPrev, g_hWnd, g_KeybdHook, g_KeyHistory, g_KeyHistoryNext, g_MainThreadID, g_MaxHistoryKeys, g_MenuIsVisible, g_modifiersLR_logical, g_modifiersLR_logical_non_ignored, g_modifiersLR_physical, g_MouseHook, g_PhysicalKeyState, GetModifierLRState(), HOT_IF_REQUIRES_EVAL, key_type::hotkey_down_was_suppressed, HOTKEY_ID_ALT_TAB, HOTKEY_ID_ALT_TAB_AND_MENU, HOTKEY_ID_ALT_TAB_MENU, HOTKEY_ID_ALT_TAB_MENU_DISMISS, HOTKEY_ID_ALT_TAB_SHIFT, HOTKEY_ID_INVALID, HOTKEY_ID_MASK, HOTKEY_KEY_UP, key_type::hotkey_to_fire_upon_release, hotkey_up, Hotkey::HotkeyRequiresModLR(), IS_ALT_TAB, key_type::is_down, IS_WHEEL_VK, IsIgnored(), key_type::it_put_alt_down, key_type::it_put_shift_down, KEY_BLOCK_THIS, KEY_PHYS_IGNORE, KeyHistoryItem::key_up, KeybdEventIsPhysical(), KEYDOWN, KEYDOWNANDUP, KeyEvent(), KEYEVENT_PHYS, KeyEventMenuMask(), KEYUP, ksc, Kscm, kvk, Kvkm, Hotkey::mHookAction, HotkeyVariant::mHotCriterion, Hotkey::mID, HotkeyVariant::mIndex, Hotkey::mKeyUp, Hotkey::mModifierSC, Hotkey::mModifierVK, Hotkey::mNextHotkey, MOD_LALT, MOD_LCONTROL, MOD_LSHIFT, MOD_LWIN, MOD_RALT, MOD_RCONTROL, MOD_RSHIFT, MOD_RWIN, NEUTRAL, key_type::no_suppress, NO_SUPPRESS_NEXT_UP_EVENT, NO_SUPPRESS_PREFIX, key_type::pForceToggle, pPrefixKey, PREFIX_ACTUAL, Hotkey::PrefixHasNoEnabledSuffixes(), sAltTabMenuIsVisible, KeyHistoryItem::sc, key_type::sc_takes_precedence, sDisguiseNextMenu, Hotkey::shk, Hotkey::sHotkeyCount, STATE_DOWN, sUndisguisedMenuInEffect, SuppressThisKey, KeyHistoryItem::target_window, HotkeyCriterion::Type, key_type::used_as_key_up, key_type::used_as_prefix, key_type::used_as_suffix, KeyHistoryItem::vk, and key_type::was_just_used.

Referenced by LowLevelKeybdProc(), and LowLevelMouseProc().

◆ LowLevelKeybdProc()

LRESULT CALLBACK LowLevelKeybdProc ( int  aCode,
WPARAM  wParam,
LPARAM  lParam 
)

◆ LowLevelMouseProc()

◆ ResetHook()

◆ ResetKeyTypeState()

◆ SuppressThisKeyFunc()

LRESULT SuppressThisKeyFunc ( const HHOOK  aHook,
LPARAM  lParam,
const vk_type  aVK,
const sc_type  aSC,
bool  aKeyUp,
ULONG_PTR  aExtraInfo,
KeyHistoryItem pKeyHistoryCurr,
WPARAM  aHotkeyIDToPost,
WPARAM  aHSwParamToPost = INT_MAX,
LPARAM  aHSlParamToPost = 0 
)

◆ SystemHasAnotherKeybdHook()

bool SystemHasAnotherKeybdHook ( )

Definition at line 4295 of file hook.cpp.

References FALSE, KEYBD_MUTEX_NAME, and sKeybdMutex.

Referenced by SendKeys().

◆ SystemHasAnotherMouseHook()

bool SystemHasAnotherMouseHook ( )

Definition at line 4312 of file hook.cpp.

References FALSE, MOUSE_MUTEX_NAME, and sMouseMutex.

Referenced by PerformMouseCommon(), and SendKeys().

◆ UpdateKeybdState()

void UpdateKeybdState ( KBDLLHOOKSTRUCT &  aEvent,
const vk_type  aVK,
const sc_type  aSC,
bool  aKeyUp,
bool  aIsSuppressed 
)

◆ WaitHookIdle()

void WaitHookIdle ( )