Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

41 lines
749 B

/*++
Copyright (c) 2002 Microsoft Corporation
Module Name:
WinXPSP1VersionLie.cpp
Abstract:
This DLL hooks GetVersion and GetVersionEx so that they return Windows XP
version credentials.
Notes:
This is a general purpose shim.
History:
09/05/2002 robkenny Created.
--*/
#include "precomp.h"
IMPLEMENT_SHIM_BEGIN(WinXPSP1VersionLie)
#include "ShimHookMacro.h"
DWORD MajorVersion = 5;
DWORD MinorVersion = 1;
DWORD BuildNumber = 2600;
SHORT SpMajorVersion = 1;
SHORT SpMinorVersion = 0;
DWORD PlatformId = VER_PLATFORM_WIN32_NT;
CString * csServicePack = NULL;
#include "VersionLieTemplate.h"
IMPLEMENT_SHIM_END