Go to the source code of this file.
◆ IDHK_F12
◆ IDHK_REACTOS
◆ IDHK_SHIFTF12
◆ IDHK_SNAP_DOWN
◆ IDHK_SNAP_LEFT
◆ IDHK_SNAP_RIGHT
◆ IDHK_SNAP_UP
◆ IDHK_WINKEY
◆ HOT_KEY
◆ PHOT_KEY
◆ co_UserProcessHotKeys()
Definition at line 177 of file hotkey.c.
205 pHotKey =
IsHotKey(fModifiers, wVk);
227 TRACE(
"Hot key pressed (pWnd %p, id %d)\n", pHotKey->
pWnd, pHotKey->
id);
247 TRACE(
"System Hot key Id %d Key %u\n", pHotKey->
id, wVk );
269 TRACE(
"UPTM Hot key Id %d Key %u\n", pHotKey->
id, wVk );
276 pWnd = pHotKey->
pWnd;
295 TRACE(
"UPM Hot key Id %d Key %u\n", pHotKey->
id, wVk );
PUSER_MESSAGE_QUEUE gpqForeground
static UINT FASTCALL IntGetModifiers(PBYTE pKeyState)
BOOL FASTCALL UserPostMessage(HWND Wnd, UINT Msg, WPARAM wParam, LPARAM lParam)
PWINSTATION_OBJECT InputWindowStation
BOOL FASTCALL UserPostThreadMessage(PTHREADINFO pti, UINT Msg, WPARAM wParam, LPARAM lParam)
HWND FASTCALL UserGetForegroundWindow(VOID)
#define UserHMGetHandle(obj)
static PHOT_KEY FASTCALL IsHotKey(UINT fsModifiers, WORD wVk)
#define ValidateHwndNoErr(hwnd)
VOID co_IntShellHookNotify(WPARAM Message, WPARAM wParam, LPARAM lParam)
Referenced by ProcessKeyEvent().
◆ DefWndGetHotKey()
◆ DefWndSetHotKey()
Definition at line 340 of file hotkey.c.
346 WARN(
"DefWndSetHotKey wParam 0x%x\n",
wParam);
372 if (pHotKey->
pWnd != pWnd)
378 pHotKey = pHotKey->
pNext;
386 if (pHotKey->
pWnd == pWnd &&
394 pLink = &pHotKey->
pNext;
395 pHotKey = pHotKey->
pNext;
407 pHotKey->
pWnd = pWnd;
422 *pLink = pHotKey->
pNext;
#define ExAllocatePoolWithTag(hernya, size, tag)
#define ExFreePoolWithTag(_P, _T)
Referenced by IntDefWindowProc().
◆ StartDebugHotKeys()
Definition at line 44 of file hotkey.c.
55 TRACE(
"Start up the debugger hotkeys!! If you see this you eneabled debugprints. Congrats!\n");
#define ENHANCED_KEYBOARD(Id)
KEYBOARD_ID KeyboardIdentifier
BOOL FASTCALL UserRegisterHotKey(PWND pWnd, int id, UINT fsModifiers, UINT vk)
BOOL FASTCALL UserUnregisterHotKey(PWND pWnd, int id)
Referenced by RawInputThreadMain().
◆ UnregisterThreadHotKeys()
◆ UnregisterWindowHotKeys()
◆ UserRegisterHotKey()
Definition at line 431 of file hotkey.c.
446 pHotKeyThread = pWnd->
head.pti;
453 WARN(
"Hotkey already exists\n");
465 pHotKey->
pti = pHotKeyThread;
466 pHotKey->
pWnd = pWnd;
PVOID NTAPI PsGetCurrentThreadWin32Thread(VOID)
#define ERROR_NOT_ENOUGH_MEMORY
#define ERROR_HOTKEY_ALREADY_REGISTERED
static PHOT_KEY FASTCALL IsHotKey(UINT fsModifiers, WORD wVk)
#define ExAllocatePoolWithTag(hernya, size, tag)
ENGAPI VOID APIENTRY EngSetLastError(_In_ ULONG iError)
Referenced by NtUserSetShellWindowEx(), RawInputThreadMain(), and StartDebugHotKeys().
◆ UserUnregisterHotKey()