Changeset 1009 for trunk/src


Ignore:
Timestamp:
Sep 22, 1999, 1:27:48 PM (26 years ago)
Author:
sandervl
Message:

David Raison's fix for GetVersionExA/W

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kernel32/KERNEL32.CPP

    r737 r1009  
    1 /* $Id: KERNEL32.CPP,v 1.19 1999-08-29 14:56:02 sandervl Exp $ */
     1/* $Id: KERNEL32.CPP,v 1.20 1999-09-22 11:27:48 sandervl Exp $ */
    22
    33/*
     
    767767   lpVersionInformation->dwMajorVersion = 4;    //pretend we're NT 4.0
    768768   lpVersionInformation->dwMinorVersion = 0;
    769    lpVersionInformation->dwBuildNumber  = 1564;
     769   lpVersionInformation->dwBuildNumber  = 0x565;
    770770   lpVersionInformation->dwPlatformId   = VER_PLATFORM_WIN32_NT;
    771    lpVersionInformation->szCSDVersion[0]= 0;
     771   strcpy(lpVersionInformation->szCSDVersion, "Service Pack 3");
    772772   return(TRUE);
    773773}
     
    783783   lpVersionInformation->dwMajorVersion = 4;    //pretend we're NT 4.0
    784784   lpVersionInformation->dwMinorVersion = 0;
    785    lpVersionInformation->dwBuildNumber  = 1564;
     785   lpVersionInformation->dwBuildNumber  = 0x565;
    786786   lpVersionInformation->dwPlatformId   = VER_PLATFORM_WIN32_NT;
    787    lpVersionInformation->szCSDVersion[0]= 0;
     787   lstrcpyW(lpVersionInformation->szCSDVersion, (LPWSTR)L"Service Pack 3");
    788788   return(TRUE);
    789789}
Note: See TracChangeset for help on using the changeset viewer.