source: trunk/include/kbdhook.h@ 10383

Last change on this file since 10383 was 10383, checked in by sandervl, 22 years ago

update

File size: 1014 bytes
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
32typedef BOOL (* WIN32API PFN_HOOKINIT)(ULONG hab, char *lpszWindowClass);
33typedef BOOL (* WIN32API PFN_HOOKTERM)(void);
34
35BOOL WIN32API hookInit(ULONG hab);
36BOOL WIN32API hookKill(ULONG hab);
37
38#endif // __KBDHOOK_H
39
Note: See TracBrowser for help on using the repository browser.