imm32: Set size of OSVERSIONINFOA before calling GetVersionExA.

This commit is contained in:
Matt 'Murph' Finnicum 2010-07-28 14:08:33 -05:00 committed by Alexandre Julliard
parent aaf4ce8ac6
commit 084bf06fe9
1 changed files with 1 additions and 0 deletions

View File

@ -1769,6 +1769,7 @@ UINT WINAPI ImmGetVirtualKey(HWND hWnd)
if ( data )
return data->lastVK;
version.dwOSVersionInfoSize = sizeof(OSVERSIONINFOA);
GetVersionExA( &version );
switch(version.dwPlatformId)
{