Changeset 6806
- Timestamp:
- Sep 25, 2001, 2:05:27 AM (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified trunk/src/user32/winkeyboard.cpp ¶
r6801 r6806 1 /* $Id: winkeyboard.cpp,v 1.1 5 2001-09-24 16:24:59phaller Exp $ */1 /* $Id: winkeyboard.cpp,v 1.16 2001-09-25 00:05:27 phaller Exp $ */ 2 2 /* 3 3 * Win32 <-> PM key translation … … 570 570 }; 571 571 572 572 573 //****************************************************************************** 573 574 //****************************************************************************** … … 1068 1069 * Result : 1069 1070 * Remark : 1070 * Status : UNTESTED STUB1071 * Status : Borrowed from NT 1071 1072 * 1072 1073 * Author : Patrick Haller [Thu, 1998/02/26 11:55] … … 1075 1076 WORD, wOemChar) 1076 1077 { 1077 dprintf(("not implemented.\n")); 1078 1079 return (wOemChar); 1078 int nVirtKey; 1079 1080 OemToCharBuffA((LPCSTR)&wOemChar, 1081 (LPSTR) &nVirtKey, 1082 1); 1083 if (nVirtKey != 0) 1084 { 1085 SHORT sScan = VkKeyScanA(nVirtKey); 1086 nVirtKey = MapVirtualKeyA( (sScan & 0xff), 0); 1087 if (nVirtKey != 0) 1088 { 1089 return ( (nVirtKey & 0x00FF) || 1090 ( (nVirtKey & 0xFF00) << 8) ); 1091 } 1092 } 1093 1094 // if not found ... 1095 return 0xffffffff; 1080 1096 } 1081 1097 //******************************************************************************
Note:
See TracChangeset
for help on using the changeset viewer.