source: trunk/src/pmkbdhk/pmkbdhkp.h@ 10366

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

update

File size: 1.1 KB
Line 
1/* $Id: pmkbdhkp.h,v 1.4 2003-10-22 15:56:07 sandervl Exp $ */
2/*
3 * Window low-level keyboard hook
4 *
5 * Copyright 2001 Patrick Haller (patrick.haller@innotek.de)
6 * Copyright (C) 1999-2000 Ulrich M”ller.
7 * Copyright 2002-2003 Innotek Systemberatung GmbH
8 */
9
10#ifndef __PMKBDHK_PRIVATE_H__
11#define __PMKBDHK_PRIVATE_H__
12
13#include <odin.h>
14
15/*
16 * HK_PREACCEL:
17 * additional undocumented PM hook type
18 */
19
20#ifndef HK_PREACCEL
21#define HK_PREACCEL 17
22#endif
23
24
25/*
26 * Note: this won't interfere with any WM_USER value,
27 * WM_PENFIRST is 0x04c0
28 */
29#ifndef WM_CHAR_SPECIAL
30#define WM_CHAR_SPECIAL 0x04bf
31#endif
32
33typedef struct _HOOKDATA
34{
35 HAB habDaemonObject; // anchor block of hwndDaemonObject; cached for speed
36 BOOL fPreAccelHooked;
37 HMODULE hmodDLL; // module handle
38 char szWindowClass[256];
39} HOOKDATA, *PHOOKDATA;
40
41
42extern HOOKDATA G_HookData;
43
44extern APIRET APIENTRY DosQuerySysState (ULONG func,
45 ULONG par1, ULONG pid, ULONG _reserved_,
46 PVOID buf,
47 ULONG bufsz);
48
49#endif //__PMKBDHK_PRIVATE_H__
Note: See TracBrowser for help on using the repository browser.