Ignore:
Timestamp:
Feb 16, 2003, 4:31:12 PM (23 years ago)
Author:
sandervl
Message:

ToAscii, GetKeyState, GetAsyncKeyState & GetKeyboardState fixes

File:
1 edited

Legend:

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

    r9598 r9810  
    1 /* $Id: oslibwin.h,v 1.71 2003-01-03 16:35:56 sandervl Exp $ */
     1/* $Id: oslibwin.h,v 1.72 2003-02-16 15:31:11 sandervl Exp $ */
    22/*
    33 * Window API wrappers for OS/2
     
    303303BOOL OSLibSetWindowMinPos(HWND hwnd, ULONG x, ULONG y);
    304304
    305 BOOL   OSLibWinGetKeyboardStateTable(unsigned char * PMKeyState);
    306 BOOL   OSLibWinSetKeyboardStateTable(unsigned char * PMKeyState);
    307 
    308 #define TCF_LSHIFT                 0x0001
    309 #define TCF_RSHIFT                 0x0002
    310 #define TCF_SHIFT                  (TCF_LSHIFT | TCF_RSHIFT)
    311 #define TCF_LCONTROL               0x0004
    312 #define TCF_RCONTROL               0x0008
    313 #define TCF_CONTROL                (TCF_LCONTROL | TCF_RCONTROL)
    314 #define TCF_ALT                    0x0010
    315 #define TCF_ALTGR                  0x0020
    316 #define TCF_CAPSLOCK               0x0040
    317 #define TCF_NUMLOCK                0x0080
    318 #define TCF_OEMSCANCODE            0x0100
    319 #define TCF_EXTENDEDKEY            0x0200
    320 
    321 #define TC_CHARTOSCANCODE          0
    322 #define TC_SCANCODETOCHAR          1
    323 #define TC_VIRTUALKEYTOSCANCODE    2
    324 #define TC_SCANCODETOVIRTUALKEY    3
    325 #define TC_SCANTOOEMSCAN           4
    326 #define TC_OEMSCANTOSCAN           5
    327 
    328 USHORT OSLibWinTranslateChar(USHORT usScanCode, ULONG type, USHORT shiftstate);
    329 
    330305#define HTOS_NORMAL                   0
    331306#define HTOS_TRANSPARENT              (-1)
Note: See TracChangeset for help on using the changeset viewer.