This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

KEY_EVENT_RECORD



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;




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]