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.

60 lines
1.5 KiB

  1. /*+-------------------------------------------------------------------------
  2. *
  3. * Microsoft Windows
  4. *
  5. * Copyright (C) Microsoft Corporation, 1996 - 1999
  6. *
  7. * File: cryptver.h
  8. *
  9. * Contents: Microsoft Internet Security versioning
  10. *
  11. * History: 14-Aug-1997 pberkman created
  12. *
  13. *--------------------------------------------------------------------------*/
  14. #include <ntverp.h>
  15. #define VER_FILEDESCRIPTION_STR_TRUST "Microsoft Trust "
  16. #undef VER_PRODUCTMINOR
  17. #ifdef _ISPUCAB
  18. /* x86fre IE BUILD */
  19. # define VER_PRODUCTMINOR 101
  20. #else
  21. /* REAL NT BUILD */
  22. # define VER_PRODUCTMINOR 131
  23. #endif
  24. #undef VER_PRODUCTVERSION_STRING
  25. #define VER_PRODUCTVERSION_STRING "5"
  26. #undef VER_PRODUCTVERSION
  27. #define VER_PRODUCTVERSION 5,VER_PRODUCTMINOR,VER_PRODUCTBUILD,VER_PRODUCTBUILD_QFE
  28. #undef VER_BPAD
  29. #if (VER_PRODUCTBUILD < 10)
  30. #define VER_BPAD "000"
  31. #elif (VER_PRODUCTBUILD < 100)
  32. #define VER_BPAD "00"
  33. #elif (VER_PRODUCTBUILD < 1000)
  34. #define VER_BPAD "0"
  35. #else
  36. #define VER_BPAD
  37. #endif
  38. #if (VER_PRODUCTMINOR < 10)
  39. #define VERM_BPAD "00"
  40. #elif (VER_PRODUCTMINOR < 100)
  41. #define VERM_BPAD "0"
  42. #else
  43. #define VERM_BPAD
  44. #endif
  45. #define VER_PRODUCTVERSION_STR2x(w,x,y) VER_PRODUCTVERSION_STRING "." VERM_BPAD #w "." VER_BPAD #x "." #y
  46. #define VER_PRODUCTVERSION_STR1x(w,x,y) VER_PRODUCTVERSION_STR2x(w, x, y)
  47. #undef VER_PRODUCTVERSION_STR
  48. #define VER_PRODUCTVERSION_STR VER_PRODUCTVERSION_STR1x(VER_PRODUCTMINOR, VER_PRODUCTBUILD, VER_PRODUCTBUILD_QFE)