imm32: Set size of OSVERSIONINFOA before calling GetVersionExA.
This commit is contained in:
parent
aaf4ce8ac6
commit
084bf06fe9
@ -1769,6 +1769,7 @@ UINT WINAPI ImmGetVirtualKey(HWND hWnd)
|
||||
if ( data )
|
||||
return data->lastVK;
|
||||
|
||||
version.dwOSVersionInfoSize = sizeof(OSVERSIONINFOA);
|
||||
GetVersionExA( &version );
|
||||
switch(version.dwPlatformId)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user