home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
DP Tool Club 24
/
CD_ASCQ_24_0995.iso
/
vrac
/
visvideo.zip
/
KEYHOOK.H_
/
KEYHOOK.bin
Wrap
Text File
|
1994-07-06
|
738b
|
24 lines
/*
* File name: keyhook.h
*
* Description:
* Header information for keyhook.dll and applications.
*/
#define MAXKEYS 30 // max keys can be specified
// Define error code
#define EHOOK 1 // callback function already installed
typedef struct _keymsg{
UINT nKeys; // number of keys specified
int key[MAXKEYS]; // keys that application desired
int msgID[MAXKEYS]; // message ID relative to the specified key
int msgUndefinedKey;// message sent when an undefined key pressed
}KeyTable;
// keyhook.c
int FAR PASCAL SetHook (HWND,KeyTable far *);
void FAR PASCAL RemoveHook (void);
int FAR PASCAL SetMouseHook (HWND,int);
void FAR PASCAL RemoveMouseHook (void);