Last change
on this file since 1036 was 97, checked in by phaller, 26 years ago |
Add: added cvs variable $Id$ to source files.
|
File size:
797 bytes
|
Line | |
---|
1 | /* $Id: accelerator.h,v 1.3 1999-06-10 17:08:52 phaller 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 __ACCELERATOR_H_
|
---|
13 | #define __ACCELERATOR_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; /* Also called the flags field */
|
---|
27 | WORD key;
|
---|
28 | WORD cmd;
|
---|
29 | BYTE align[3];
|
---|
30 | } WINACCEL, *LPWINACCEL;
|
---|
31 | #pragma pack()
|
---|
32 |
|
---|
33 | void ShowAccelerator(int id, WINACCEL *accdata, int size);
|
---|
34 |
|
---|
35 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.