|
Last change
on this file since 21911 was 1182, checked in by sandervl, 26 years ago |
|
EB's accelerator fixes/changes
|
|
File size:
706 bytes
|
| Rev | Line | |
|---|
| [1182] | 1 | /* $Id: winaccel.h,v 1.2 1999-10-08 09:52:02 sandervl Exp $ */
|
|---|
| [581] | 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 {
|
|---|
| [1182] | 26 | BYTE fVirt;
|
|---|
| 27 | BYTE pad0;
|
|---|
| [581] | 28 | WORD key;
|
|---|
| 29 | WORD cmd;
|
|---|
| [1182] | 30 | WORD pad1;
|
|---|
| [581] | 31 | } WINACCEL, *LPWINACCEL;
|
|---|
| 32 | #pragma pack()
|
|---|
| 33 |
|
|---|
| 34 | #endif
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.