[CMAKE]
[reactos.git] / subsystems / win32 / win32k / include / hotkey.h
1 #pragma once
2
3 #include <include/winsta.h>
4 #include <include/window.h>
5
6 typedef struct _HOT_KEY_ITEM
7 {
8 LIST_ENTRY ListEntry;
9 struct _ETHREAD *Thread;
10 HWND hWnd;
11 int id;
12 UINT fsModifiers;
13 UINT vk;
14 } HOT_KEY_ITEM, *PHOT_KEY_ITEM;
15
16 #define IDHOT_REACTOS (-9)
17
18 INIT_FUNCTION
19 NTSTATUS
20 NTAPI
21 InitHotkeyImpl(VOID);
22
23 //NTSTATUS FASTCALL
24 //CleanupHotKeys(PWINSTATION_OBJECT WinStaObject);
25
26 BOOL FASTCALL
27 GetHotKey (UINT fsModifiers,
28 UINT vk,
29 struct _ETHREAD **Thread,
30 HWND *hWnd,
31 int *id);
32
33 VOID FASTCALL
34 UnregisterWindowHotKeys(PWND Window);
35
36 VOID FASTCALL
37 UnregisterThreadHotKeys(struct _ETHREAD *Thread);
38 UINT FASTCALL
39 DefWndGetHotKey(HWND hwnd);
40 INT FASTCALL
41 DefWndSetHotKey( PWND pWnd, WPARAM wParam);
42
43 /* EOF */