Implemented MapVirtualKeyEx (ticket 21).

Ignore keyboard layout for now.
This commit is contained in:
Marcus Meissner 1999-02-13 08:53:22 +00:00 committed by Alexandre Julliard
parent 7c5c8dd28a
commit 592c910b7c
3 changed files with 13 additions and 1 deletions

View File

@ -3455,6 +3455,8 @@ INT32 WINAPI LookupIconIdFromDirectoryEx32(LPBYTE,BOOL32,INT32,INT32,UINT3
UINT32 WINAPI MapVirtualKey32A(UINT32,UINT32);
UINT32 WINAPI MapVirtualKey32W(UINT32,UINT32);
#define MapVirtualKey WINELIB_NAME_AW(MapVirtualKey)
UINT32 WINAPI MapVirtualKeyEx32A(UINT32,UINT32,HKL32);
#define MapVirtualKeyEx WINELIB_NAME_AW(MapVirtualKeyEx)
void WINAPI MapDialogRect32(HWND32,LPRECT32);
#define MapDialogRect WINELIB_NAME(MapDialogRect)
void WINAPI MapWindowPoints32(HWND32,HWND32,LPPOINT32,UINT32);

View File

@ -385,7 +385,7 @@ init MAIN_UserInit
381 stub MBToWCSEx
382 stdcall MapDialogRect(long ptr) MapDialogRect32
383 stdcall MapVirtualKeyA(long long) MapVirtualKey32A
384 stub MapVirtualKeyExA
384 stdcall MapVirtualKeyExA(long long long) MapVirtualKeyEx32A
385 stdcall MapVirtualKeyW(long long) MapVirtualKey32A
386 stdcall MapWindowPoints(long long ptr long) MapWindowPoints32
387 stub MenuItemFromPoint

View File

@ -762,6 +762,16 @@ UINT32 WINAPI MapVirtualKey32W(UINT32 code, UINT32 maptype)
return MapVirtualKey16(code,maptype);
}
/******************************************************************************
* MapVirtualKeyEx32A (USER32.384)
*/
UINT32 WINAPI MapVirtualKeyEx32A(UINT32 code, UINT32 maptype, HKL32 hkl)
{
if (hkl)
FIXME(keyboard,"(%d,%d,0x%08lx), hkl unhandled!\n",code,maptype,(DWORD)hkl);
return MapVirtualKey16(code,maptype);
}
/****************************************************************************
* GetKBCodePage32 (USER32.246)
*/