Line | |
---|
1 | /*
|
---|
2 | * Keyboard hook definitions
|
---|
3 | *
|
---|
4 | * Copyright 2003 Innotek Systemberatung GmbH (sandervl@innotek.de)
|
---|
5 | *
|
---|
6 | * Project Odin Software License can be found in LICENSE.TXT
|
---|
7 | */
|
---|
8 |
|
---|
9 | #ifndef __KBDHOOK_H
|
---|
10 | #define __KBDHOOK_H
|
---|
11 |
|
---|
12 |
|
---|
13 | /*
|
---|
14 | * HK_PREACCEL:
|
---|
15 | * additional undocumented PM hook type
|
---|
16 | */
|
---|
17 |
|
---|
18 | #ifndef HK_PREACCEL
|
---|
19 | #define HK_PREACCEL 17
|
---|
20 | #endif
|
---|
21 |
|
---|
22 | /**************************************************************/
|
---|
23 | /* Try to load the Presentation Manager Keyboard Hook module. */
|
---|
24 | /* If this fails, some hotkeys may not arrive properly at the */
|
---|
25 | /* targetted window, but no more harmful things will happen. */
|
---|
26 | /**************************************************************/
|
---|
27 | #define STD_PMKBDHK_MODULE "PMKBDHK";
|
---|
28 | #define PMKBDHK_HOOK_INIT "_hookInit@8"
|
---|
29 | #define PMKBDHK_HOOK_TERM "_hookKill@0"
|
---|
30 |
|
---|
31 |
|
---|
32 | typedef BOOL (* WIN32API PFN_HOOKINIT)(ULONG hab, char *lpszWindowClass);
|
---|
33 | typedef BOOL (* WIN32API PFN_HOOKTERM)(void);
|
---|
34 |
|
---|
35 | BOOL WIN32API hookInit(ULONG hab);
|
---|
36 | BOOL WIN32API hookKill(ULONG hab);
|
---|
37 |
|
---|
38 | #endif // __KBDHOOK_H
|
---|
39 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.