24 lines
401 B
C
24 lines
401 B
C
/*
|
|
* structure definitions for ACCELERATORS
|
|
*
|
|
* Copyright Martin Ayotte, 1994
|
|
*
|
|
*/
|
|
|
|
typedef struct {
|
|
WORD wEvent;
|
|
WORD wIDval;
|
|
BYTE type;
|
|
} ACCELENTRY, *LPACCELENTRY;
|
|
|
|
typedef struct {
|
|
WORD wCount;
|
|
ACCELENTRY tbl[1];
|
|
} ACCELHEADER, *LPACCELHEADER;
|
|
|
|
#define VIRTKEY_ACCEL 0x01
|
|
#define SHIFT_ACCEL 0x04
|
|
#define CONTROL_ACCEL 0x08
|
|
#define ALT_ACCEL 0x10
|
|
#define SYSTEM_ACCEL 0x80
|