Changeset 9810 for trunk/src/user32/oslibwin.cpp
- Timestamp:
- Feb 16, 2003, 4:31:12 PM (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/oslibwin.cpp
r9694 r9810 1 /* $Id: oslibwin.cpp,v 1.13 8 2003-01-20 12:09:47sandervl Exp $ */1 /* $Id: oslibwin.cpp,v 1.139 2003-02-16 15:31:10 sandervl Exp $ */ 2 2 /* 3 3 * Window API wrappers for OS/2 … … 315 315 //****************************************************************************** 316 316 //****************************************************************************** 317 LONG OSLibWinGetPhysKeyState(LONG scan)318 {319 return WinGetPhysKeyState(HWND_DESKTOP,scan);320 }321 //******************************************************************************322 //******************************************************************************323 317 BOOL OSLibWinSetFocus(HWND hwndDeskTop,HWND hwndNewFocus, BOOL activate) 324 318 { … … 952 946 WinQuerySysValue( HWND_DESKTOP, SV_CYICON))); 953 947 return TRUE; 954 }955 //******************************************************************************956 //******************************************************************************957 BOOL OSLibWinGetKeyboardStateTable(unsigned char *PMKeyState)958 {959 return WinSetKeyboardStateTable(HWND_DESKTOP, (PBYTE)PMKeyState, FALSE );960 }961 //******************************************************************************962 //******************************************************************************963 BOOL OSLibWinSetKeyboardStateTable(unsigned char *PMKeyState)964 {965 return WinSetKeyboardStateTable(HWND_DESKTOP, (PBYTE)PMKeyState, TRUE );966 }967 //******************************************************************************968 //******************************************************************************969 USHORT APIENTRY WinTranslateChar2( USHORT /* Codepage (currently ignored) */970 , PUSHORT /* Ptr to char to translate */971 , PULONG /* Ptr to deadkey save info */972 , USHORT /* Translation option (TC_xxx) */973 , PUSHORT /* Ptr to shift state (TCF_xxx) */974 );975 //******************************************************************************976 //******************************************************************************977 USHORT OSLibWinTranslateChar(USHORT usScanCode, ULONG type, USHORT shiftstate)978 {979 USHORT usResult;980 USHORT sel = GetFS();981 982 usResult = WinTranslateChar2(0, &usScanCode, NULL, type, &shiftstate);983 SetFS(sel);984 return usScanCode;985 948 } 986 949 //******************************************************************************
Note:
See TracChangeset
for help on using the changeset viewer.