xref: /reactos/win32ss/user/ntuser/hotkey.h (revision 7e396787)
1 #pragma once
2 
3 typedef struct _HOT_KEY
4 {
5     PTHREADINFO pti;
6     PWND pWnd;
7     UINT fsModifiers;
8     UINT vk;
9     INT id;
10     struct _HOT_KEY *pNext;
11 } HOT_KEY, *PHOT_KEY;
12 
13 /* Special Hot Keys */
14 #define IDHK_F12       -5
15 #define IDHK_SHIFTF12  -6
16 #define IDHK_WINKEY    -7
17 #define IDHK_REACTOS   -8
18 
19 /* Window Snap Hot Keys */
20 #define IDHK_SNAP_LEFT   -10
21 #define IDHK_SNAP_RIGHT  -11
22 #define IDHK_SNAP_UP     -12
23 #define IDHK_SNAP_DOWN   -13
24 
25 VOID FASTCALL UnregisterWindowHotKeys(PWND Window);
26 VOID FASTCALL UnregisterThreadHotKeys(PTHREADINFO pti);
27 BOOL NTAPI co_UserProcessHotKeys(WORD wVk, BOOL bIsDown);
28 UINT FASTCALL DefWndGetHotKey(PWND pWnd);
29 INT FASTCALL DefWndSetHotKey(PWND pWnd, WPARAM wParam);
30 VOID FASTCALL StartDebugHotKeys(VOID);
31 BOOL FASTCALL UserRegisterHotKey(PWND pWnd,int id,UINT fsModifiers,UINT vk);
32 BOOL FASTCALL UserUnregisterHotKey(PWND pWnd, int id);
33 
34 /* EOF */
35