Line | |
---|
1 | /*
|
---|
2 | * PE2LX accelerator resource support code
|
---|
3 | *
|
---|
4 | * Copyright 1998 Sander van Leeuwen (sandervl@xs4all.nl)
|
---|
5 | *
|
---|
6 | *
|
---|
7 | * Project Odin Software License can be found in LICENSE.TXT
|
---|
8 | *
|
---|
9 | */
|
---|
10 | #ifndef __ACCELERATOR_H_
|
---|
11 | #define __ACCELERATOR_H_
|
---|
12 |
|
---|
13 | /*
|
---|
14 | * Defines for the fVirt field of the Accelerator table structure.
|
---|
15 | */
|
---|
16 | #define FVIRTKEY TRUE /* Assumed to be == TRUE */
|
---|
17 | #define FNOINVERT 0x02
|
---|
18 | #define FSHIFT 0x04
|
---|
19 | #define FCONTROL 0x08
|
---|
20 | #define FALT 0x10
|
---|
21 |
|
---|
22 | #pragma pack(1)
|
---|
23 | typedef struct tagWINACCEL {
|
---|
24 | BYTE fVirt; /* Also called the flags field */
|
---|
25 | WORD key;
|
---|
26 | WORD cmd;
|
---|
27 | BYTE align[3];
|
---|
28 | } WINACCEL, *LPWINACCEL;
|
---|
29 | #pragma pack()
|
---|
30 |
|
---|
31 | void ShowAccelerator(int id, WINACCEL *accdata, int size);
|
---|
32 |
|
---|
33 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.