This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
KEY_EVENT_RECORD
- To: egcs-bugs at cygnus dot com
- Subject: KEY_EVENT_RECORD
- From: epeschko at den-mdev1 (Ed Peschko)
- Date: Thu, 30 Jul 1998 09:02:43 -0600 (MDT)
- Reply-To: ed_peschko at csgsystems dot com (Ed Peschko)
I was wondering why, in this snippet of code in
i386-mingw32/include/Windows32/Structures.h, you have the 'uChar' field
commented out without explanation.
I've got some code (inside the perl distribution) that needs to have access to
the uChar field, and itr seems so random to have it commented out like this.
So whats up?
Ed
(PS: do you have binary snapshots of 1.1.0 EGCS for Win32 yet? Thanks.)
--------------------------------------------------------------------------------
typedef struct _KEY_EVENT_RECORD {
WINBOOL bKeyDown;
WORD wRepeatCount;
WORD wVirtualKeyCode;
WORD wVirtualScanCode;
char AsciiChar;
char pad;
#if 0
union {
WCHAR UnicodeChar PACKED;
CHAR AsciiChar PACKED;
} uChar PACKED;
#endif
DWORD dwControlKeyState PACKED;
} PACKED KEY_EVENT_RECORD;