diff --git a/dlls/imm32/imm.c b/dlls/imm32/imm.c index 33f39cc75c4..5cdd721c246 100644 --- a/dlls/imm32/imm.c +++ b/dlls/imm32/imm.c @@ -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) {