imm32: ImmGetVirtualKey return orignal virtual key value.
This commit is contained in:
parent
7e341002d2
commit
fab832df68
|
@ -1385,7 +1385,12 @@ BOOL WINAPI ImmGetStatusWindowPos(HIMC hIMC, LPPOINT lpptPos)
|
||||||
UINT WINAPI ImmGetVirtualKey(HWND hWnd)
|
UINT WINAPI ImmGetVirtualKey(HWND hWnd)
|
||||||
{
|
{
|
||||||
OSVERSIONINFOA version;
|
OSVERSIONINFOA version;
|
||||||
FIXME("(%p): stub\n", hWnd);
|
InputContextData *data = (InputContextData *)ImmGetContext( hWnd );
|
||||||
|
TRACE("%p\n", hWnd);
|
||||||
|
|
||||||
|
if ( data )
|
||||||
|
return data->lastVK;
|
||||||
|
|
||||||
GetVersionExA( &version );
|
GetVersionExA( &version );
|
||||||
switch(version.dwPlatformId)
|
switch(version.dwPlatformId)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue