imm32: ImmGetVirtualKey return orignal virtual key value.

This commit is contained in:
ByeongSik Jeon 2008-04-25 11:37:27 +09:00 committed by Alexandre Julliard
parent 7e341002d2
commit fab832df68
1 changed files with 6 additions and 1 deletions

View File

@ -1385,7 +1385,12 @@ BOOL WINAPI ImmGetStatusWindowPos(HIMC hIMC, LPPOINT lpptPos)
UINT WINAPI ImmGetVirtualKey(HWND hWnd)
{
OSVERSIONINFOA version;
FIXME("(%p): stub\n", hWnd);
InputContextData *data = (InputContextData *)ImmGetContext( hWnd );
TRACE("%p\n", hWnd);
if ( data )
return data->lastVK;
GetVersionExA( &version );
switch(version.dwPlatformId)
{