Ignore:
Timestamp:
Jun 28, 2002, 10:15:06 PM (23 years ago)
Author:
sandervl
Message:

more logging in GetVersionExA

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kernel32/version.cpp

    r7587 r8803  
    1 /* $Id: version.cpp,v 1.7 2001-12-08 16:17:34 sandervl Exp $ */
     1/* $Id: version.cpp,v 1.8 2002-06-28 20:15:06 sandervl Exp $ */
    22
    33/*
     
    180180   strcpy(lpVersionInformation->szCSDVersion, VersionData[winversion].getVersionEx.szCSDVersion );
    181181
     182   dprintf(("version      %x.%x", lpVersionInformation->dwMajorVersion, lpVersionInformation->dwMinorVersion));
     183   dprintf(("build nr     %x", lpVersionInformation->dwBuildNumber));
     184   dprintf(("Platform Id  %x", lpVersionInformation->dwPlatformId));
     185   dprintf(("szCSDVersion %s", lpVersionInformation->szCSDVersion));
     186
    182187   if(lpVersionInformation->dwOSVersionInfoSize == sizeof(OSVERSIONINFOEXA))
    183188   {//Windows 2000 (and up) extension
     
    188193       lpVersionExInformation->wReserved[0]      = VersionData[winversion].getVersionEx.wReserved[0];
    189194       lpVersionExInformation->wReserved[1]      = VersionData[winversion].getVersionEx.wReserved[1];
    190    }
     195
     196       dprintf(("service pack version %x.%x", lpVersionExInformation->wServicePackMajor, lpVersionExInformation->wServicePackMinor));
     197   }
     198
    191199   SetLastError(ERROR_SUCCESS);
    192200   return(TRUE);
Note: See TracChangeset for help on using the changeset viewer.