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 )
|
if ( data )
|
||||||
return data->lastVK;
|
return data->lastVK;
|
||||||
|
|
||||||
|
version.dwOSVersionInfoSize = sizeof(OSVERSIONINFOA);
|
||||||
GetVersionExA( &version );
|
GetVersionExA( &version );
|
||||||
switch(version.dwPlatformId)
|
switch(version.dwPlatformId)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user