diff --git a/dlls/user/user32.spec b/dlls/user/user32.spec index 64e9015d9a7..f1d773eb6d0 100644 --- a/dlls/user/user32.spec +++ b/dlls/user/user32.spec @@ -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 diff --git a/include/winuser.h b/include/winuser.h index 4d486fd9e40..e0a243972f6 100644 --- a/include/winuser.h +++ b/include/winuser.h @@ -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); diff --git a/windows/input.c b/windows/input.c index 82225b24d56..afa45fa30fc 100644 --- a/windows/input.c +++ b/windows/input.c @@ -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) */