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

42 lines
749 B
C++

/*++
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