1
0
mirror of https://github.com/wine-mirror/wine synced 2024-07-08 20:06:18 +00:00

Added a first-cut version of MapVirtualKeyExW() that has the same

functionality (and limitations) as the ANSI version.
This commit is contained in:
Ken Coleman 2000-12-05 03:56:56 +00:00 committed by Alexandre Julliard
parent 6dc005488b
commit 2743c81e77
3 changed files with 12 additions and 1 deletions

View File

@ -609,7 +609,7 @@ debug_channels (accel caret class clipboard combo cursor dc ddeml dialog driver
@ stdcall EnumDisplaySettingsA(str long ptr) EnumDisplaySettingsA
@ stdcall EnumDisplaySettingsW(wstr long ptr ) EnumDisplaySettingsW
@ stdcall GetWindowRgn(long long) GetWindowRgn
@ stub MapVirtualKeyExW
@ stdcall MapVirtualKeyExW(long long long) MapVirtualKeyExW
@ stub RegisterServicesProcess
@ stdcall SetWindowRgn(long long long) SetWindowRgn
@ stdcall ToUnicodeEx(long long ptr wstr long long long) ToUnicodeEx

View File

@ -3592,6 +3592,7 @@ UINT WINAPI MapVirtualKeyA(UINT,UINT);
UINT WINAPI MapVirtualKeyW(UINT,UINT);
#define MapVirtualKey WINELIB_NAME_AW(MapVirtualKey)
UINT WINAPI MapVirtualKeyExA(UINT,UINT,HKL);
UINT WINAPI MapVirtualKeyExW(UINT,UINT,HKL);
#define MapVirtualKeyEx WINELIB_NAME_AW(MapVirtualKeyEx)
BOOL WINAPI MapDialogRect(HWND,LPRECT);
INT WINAPI MapWindowPoints(HWND,HWND,LPPOINT,UINT);

View File

@ -687,6 +687,16 @@ UINT WINAPI MapVirtualKeyExA(UINT code, UINT maptype, HKL hkl)
return MapVirtualKey16(code,maptype);
}
/******************************************************************************
* MapVirtualKeyExW (USER32.???)
*/
UINT WINAPI MapVirtualKeyExW(UINT code, UINT maptype, HKL hkl)
{
if (hkl)
FIXME_(keyboard)("(%d,%d,0x%08lx), hkl unhandled!\n",code,maptype,(DWORD)hkl);
return MapVirtualKey16(code,maptype);
}
/****************************************************************************
* GetKBCodePage (USER32.246)
*/