Windows2003-3790/windows/appcompat/shims/layer/win2000sp2versionlie.cpp
2020-09-30 16:53:55 +02:00

41 lines
757 B
C++

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