Ignore:
Timestamp:
Jul 3, 2001, 8:33:28 PM (24 years ago)
Author:
sandervl
Message:

ToAscii fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/user32/oslibwin.h

    r6149 r6156  
    1 /* $Id: oslibwin.h,v 1.58 2001-07-03 13:23:32 sandervl Exp $ */
     1/* $Id: oslibwin.h,v 1.59 2001-07-03 18:33:27 sandervl Exp $ */
    22/*
    33 * Window API wrappers for OS/2
     
    278278BOOL   OSLibWinGetKeyboardStateTable(unsigned char * PMKeyState);
    279279BOOL   OSLibWinSetKeyboardStateTable(unsigned char * PMKeyState);
    280 USHORT OSLibWinTranslateChar(USHORT usScanCode);
     280
     281#define TCF_LSHIFT                 0x0001
     282#define TCF_RSHIFT                 0x0002
     283#define TCF_SHIFT                  (TCF_LSHIFT | TCF_RSHIFT)
     284#define TCF_LCONTROL               0x0004
     285#define TCF_RCONTROL               0x0008
     286#define TCF_CONTROL                (TCF_LCONTROL | TCF_RCONTROL)
     287#define TCF_ALT                    0x0010
     288#define TCF_ALTGR                  0x0020
     289#define TCF_CAPSLOCK               0x0040
     290#define TCF_NUMLOCK                0x0080
     291#define TCF_OEMSCANCODE            0x0100
     292#define TCF_EXTENDEDKEY            0x0200
     293
     294#define TC_CHARTOSCANCODE          0
     295#define TC_SCANCODETOCHAR          1
     296#define TC_VIRTUALKEYTOSCANCODE    2
     297#define TC_SCANCODETOVIRTUALKEY    3
     298#define TC_SCANTOOEMSCAN           4
     299#define TC_OEMSCANTOSCAN           5
     300
     301USHORT OSLibWinTranslateChar(USHORT usScanCode, ULONG type, USHORT shiftstate);
    281302
    282303#define HTOS_NORMAL                   0
Note: See TracChangeset for help on using the changeset viewer.