mirror of
https://github.com/reactos/reactos.git
synced 2024-09-09 12:20:21 +00:00
29 lines
748 B
C
29 lines
748 B
C
#pragma once
|
|
|
|
typedef struct _HOT_KEY
|
|
{
|
|
PTHREADINFO pti;
|
|
PWND pWnd;
|
|
UINT fsModifiers;
|
|
UINT vk;
|
|
INT id;
|
|
struct _HOT_KEY *pNext;
|
|
} HOT_KEY, *PHOT_KEY;
|
|
|
|
/* Special Hot Keys */
|
|
#define IDHK_F12 -5
|
|
#define IDHK_SHIFTF12 -6
|
|
#define IDHK_WINKEY -7
|
|
#define IDHK_REACTOS -8
|
|
|
|
VOID FASTCALL UnregisterWindowHotKeys(PWND Window);
|
|
VOID FASTCALL UnregisterThreadHotKeys(PTHREADINFO pti);
|
|
BOOL NTAPI co_UserProcessHotKeys(WORD wVk, BOOL bIsDown);
|
|
UINT FASTCALL DefWndGetHotKey(PWND pWnd);
|
|
INT FASTCALL DefWndSetHotKey(PWND pWnd, WPARAM wParam);
|
|
VOID FASTCALL StartDebugHotKeys(VOID);
|
|
BOOL FASTCALL UserRegisterHotKey(PWND pWnd,int id,UINT fsModifiers,UINT vk);
|
|
BOOL FASTCALL UserUnregisterHotKey(PWND pWnd, int id);
|
|
|
|
/* EOF */
|