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
759 B

  1. /*++
  2. Copyright (c) 2002 Microsoft Corporation
  3. Module Name:
  4. Win2000SP3VersionLie.cpp
  5. Abstract:
  6. This DLL hooks GetVersion and GetVersionEx so that they return Windows 2000 SP3
  7. version credentials.
  8. Notes:
  9. This is a general purpose shim.
  10. History:
  11. 09/05/2002 robkenny Created.
  12. --*/
  13. #include "precomp.h"
  14. IMPLEMENT_SHIM_BEGIN(Win2000SP3VersionLie)
  15. #include "ShimHookMacro.h"
  16. DWORD MajorVersion = 5;
  17. DWORD MinorVersion = 0;
  18. DWORD BuildNumber = 2195;
  19. SHORT SpMajorVersion = 3;
  20. SHORT SpMinorVersion = 0;
  21. DWORD PlatformId = VER_PLATFORM_WIN32_NT;
  22. CString * csServicePack = NULL;
  23. #include "VersionLieTemplate.h"
  24. IMPLEMENT_SHIM_END