Source code of Windows XP (NT5)
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.

52 lines
1.7 KiB

  1. //=======================================================================
  2. //
  3. // Copyright (c) 1998-2000 Microsoft Corporation. All Rights Reserved.
  4. //
  5. // File: wuiutest.h
  6. //
  7. // Description:
  8. //
  9. // Defines used for test builds.
  10. //
  11. // NOTE: To add test features to a build define the following
  12. // in your build environment before building (can be any
  13. // combination of chk, fre, ANSI, or Unicode):
  14. //
  15. // set USER_C_FLAGS=$(USER_C_FLAGS) /D__WUIUTEST=1
  16. //
  17. //=======================================================================
  18. #ifndef __IU_WUIUTEST_INC__
  19. #define __IU_WUIUTEST_INC__
  20. #ifdef __WUIUTEST
  21. #include <tchar.h>
  22. //
  23. // Reg key containing values used by builds compiled with __WUIUTEST defined
  24. //
  25. const TCHAR REGKEY_WUIUTEST[] = _T("SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\WindowsUpdate\\wuiutest");
  26. //
  27. // Allow CDM to download drivers even if DriverVer is equal (but not less-than) installed driver
  28. //
  29. const TCHAR REGVAL_ALLOW_EQUAL_DRIVERVER[] = _T("AllowEqualDriverVer");
  30. //
  31. // Override OS or USER LANGID
  32. //
  33. const TCHAR REGVAL_OS_LANGID[] = _T("OsLangID");
  34. const TCHAR REGVAL_USER_LANGID[] = _T("UserLangID");
  35. //
  36. // Override DetectClientIUPlatform OSVERSIONINFO params
  37. //
  38. const TCHAR REGVAL_MAJORVER[] = _T("OsVerMajorVersion");
  39. const TCHAR REGVAL_MINORVER[] = _T("OsVerMinorVersion");
  40. const TCHAR REGVAL_BLDNUMBER[] = _T("OsVerBuildNumber");
  41. const TCHAR REGVAL_PLATFORMID[] = _T("OsVerPlatformID");
  42. const TCHAR REGVAL_SZCSDVER[] = _T("OsVerSzCSDVersion");
  43. //
  44. // Override DEFAULT_EXPIRED_SECONDS time for deleting downloaded folders
  45. //
  46. const TCHAR REGVAL_DEFAULT_EXPIRED_SECONDS[] =_T("DownloadExpireSeconds");
  47. #endif //__WUIUTEST
  48. #endif // __IU_WUIUTEST_INC__