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