ntoskrnl: Initialize structure size.

This commit is contained in:
Vitaliy Margolen 2009-10-19 23:23:13 -06:00 committed by Alexandre Julliard
parent fd596b9cb8
commit 82379e83e3
1 changed files with 1 additions and 0 deletions

View File

@ -1237,6 +1237,7 @@ BOOLEAN WINAPI PsGetVersion(ULONG *major, ULONG *minor, ULONG *build, UNICODE_ST
{
RTL_OSVERSIONINFOEXW info;
info.dwOSVersionInfoSize = sizeof(info);
RtlGetVersion( &info );
if (major) *major = info.dwMajorVersion;
if (minor) *minor = info.dwMinorVersion;