2010-02-26 11:43:19 +00:00
|
|
|
#pragma once
|
2003-11-03 18:52:21 +00:00
|
|
|
|
2011-10-13 13:23:57 +00:00
|
|
|
typedef struct _HOT_KEY
|
2003-11-11 22:17:18 +00:00
|
|
|
{
|
2013-10-14 06:19:48 +00:00
|
|
|
PTHREADINFO pti;
|
|
|
|
PWND pWnd;
|
2011-10-13 13:23:57 +00:00
|
|
|
UINT fsModifiers;
|
|
|
|
UINT vk;
|
|
|
|
INT id;
|
|
|
|
struct _HOT_KEY *pNext;
|
|
|
|
} HOT_KEY, *PHOT_KEY;
|
2003-11-03 18:52:21 +00:00
|
|
|
|
2011-10-13 13:23:57 +00:00
|
|
|
/* Special Hot Keys */
|
|
|
|
#define IDHK_F12 -5
|
|
|
|
#define IDHK_SHIFTF12 -6
|
|
|
|
#define IDHK_WINKEY -7
|
|
|
|
#define IDHK_REACTOS -8
|
2011-04-25 15:18:39 +00:00
|
|
|
|
2019-01-15 13:36:41 +00:00
|
|
|
/* Window Snap Hot Keys */
|
|
|
|
#define IDHK_SNAP_LEFT -10
|
|
|
|
#define IDHK_SNAP_RIGHT -11
|
|
|
|
#define IDHK_SNAP_UP -12
|
|
|
|
#define IDHK_SNAP_DOWN -13
|
|
|
|
|
2011-08-27 12:38:23 +00:00
|
|
|
VOID FASTCALL UnregisterWindowHotKeys(PWND Window);
|
2013-10-14 06:19:48 +00:00
|
|
|
VOID FASTCALL UnregisterThreadHotKeys(PTHREADINFO pti);
|
2011-10-09 20:27:08 +00:00
|
|
|
BOOL NTAPI co_UserProcessHotKeys(WORD wVk, BOOL bIsDown);
|
2013-10-14 06:19:48 +00:00
|
|
|
UINT FASTCALL DefWndGetHotKey(PWND pWnd);
|
2011-10-09 20:12:12 +00:00
|
|
|
INT FASTCALL DefWndSetHotKey(PWND pWnd, WPARAM wParam);
|
2013-10-14 06:19:48 +00:00
|
|
|
VOID FASTCALL StartDebugHotKeys(VOID);
|
|
|
|
BOOL FASTCALL UserRegisterHotKey(PWND pWnd,int id,UINT fsModifiers,UINT vk);
|
|
|
|
BOOL FASTCALL UserUnregisterHotKey(PWND pWnd, int id);
|
2003-11-03 18:52:21 +00:00
|
|
|
|
|
|
|
/* EOF */
|