74f19a2b2a7dc50c6519b5f0a2bbce44de377965
[reactos.git] / reactos / 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 INIT_FUNCTION
17 NTSTATUS
18 NTAPI
19 InitHotkeyImpl(VOID);
20
21 //NTSTATUS FASTCALL
22 //CleanupHotKeys(PWINSTATION_OBJECT WinStaObject);
23
24 BOOL FASTCALL
25 GetHotKey (UINT fsModifiers,
26 UINT vk,
27 struct _ETHREAD **Thread,
28 HWND *hWnd,
29 int *id);
30
31 VOID FASTCALL
32 UnregisterWindowHotKeys(PWND Window);
33
34 VOID FASTCALL
35 UnregisterThreadHotKeys(struct _ETHREAD *Thread);
36
37 /* EOF */