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.

119 lines
4.6 KiB

  1. /****************************************************************************
  2. * *
  3. * ntverp.H -- Version information for internal builds *
  4. * *
  5. * This file is only modified by the official builder to update the *
  6. * VERSION, VER_PRODUCTVERSION, VER_PRODUCTVERSION_STR and *
  7. * VER_PRODUCTBETA_STR values. *
  8. * *
  9. ****************************************************************************/
  10. /*--------------------------------------------------------------*/
  11. /* the following values should be modified by the official */
  12. /* builder for each build */
  13. /* */
  14. /* the VER_PRODUCTBUILD lines must contain the product */
  15. /* comments and end with the build#<CR><LF> */
  16. /* */
  17. /* the VER_PRODUCTBETA_STR lines must contain the product */
  18. /* comments and end with "some string"<CR><LF> */
  19. /*--------------------------------------------------------------*/
  20. #if _MSC_VER > 1000
  21. #pragma once
  22. #endif
  23. #define VER_PRODUCTBUILD /* NT */ 2600
  24. #define VER_PRODUCTBUILD_QFE 1106
  25. #ifndef NO_RC_VERSION
  26. #define VER_PRODUCTRCVERSION (257)
  27. #endif
  28. #if defined(NASHVILLE)
  29. // IE components now use NT's VER_PRODUCTBUILD, but define other different major/minor version #'s
  30. #include <ieverp.h>
  31. #else
  32. #define VER_PRODUCTMAJORVERSION 5
  33. #define VER_PRODUCTMINORVERSION 1
  34. #define VER_PRODUCTBETA_STR /* NT */ ""
  35. #define VER_PRODUCTVERSION_MAJORMINOR2(x,y) #x "." #y
  36. #define VER_PRODUCTVERSION_MAJORMINOR1(x,y) VER_PRODUCTVERSION_MAJORMINOR2(x, y)
  37. #define VER_PRODUCTVERSION_STRING VER_PRODUCTVERSION_MAJORMINOR1(VER_PRODUCTMAJORVERSION, VER_PRODUCTMINORVERSION)
  38. #define VER_PRODUCTVERSION VER_PRODUCTMAJORVERSION,VER_PRODUCTMINORVERSION,VER_PRODUCTBUILD,VER_PRODUCTBUILD_QFE
  39. #define VER_PRODUCTVERSION_W (0x0501)
  40. #define VER_PRODUCTVERSION_DW (0x05010000 | VER_PRODUCTBUILD)
  41. /*--------------------------------------------------------------*/
  42. /* this value is used by third party drivers build with the DDK */
  43. /* and internally, to avoid version number conflicts. */
  44. /*--------------------------------------------------------------*/
  45. #define VER_DDK_PRODUCTVERSION 5,01
  46. #define VER_DDK_PRODUCTVERSION_STR "5.01"
  47. #endif
  48. #if (VER_PRODUCTBUILD < 10)
  49. #define VER_BPAD "000"
  50. #elif (VER_PRODUCTBUILD < 100)
  51. #define VER_BPAD "00"
  52. #elif (VER_PRODUCTBUILD < 1000)
  53. #define VER_BPAD "0"
  54. #else
  55. #define VER_BPAD
  56. #endif
  57. #define VER_PRODUCTVERSION_STR2(x,y) VER_PRODUCTVERSION_STRING "." VER_BPAD #x "." #y
  58. #define VER_PRODUCTVERSION_STR1(x,y) VER_PRODUCTVERSION_STR2(x, y)
  59. #define VER_PRODUCTVERSION_STR VER_PRODUCTVERSION_STR1(VER_PRODUCTBUILD, VER_PRODUCTBUILD_QFE)
  60. /*--------------------------------------------------------------*/
  61. /* the following section defines values used in the version */
  62. /* data structure for all files, and which do not change. */
  63. /*--------------------------------------------------------------*/
  64. /* default is nodebug */
  65. #if DBG
  66. #define VER_DEBUG VS_FF_DEBUG
  67. #else
  68. #define VER_DEBUG 0
  69. #endif
  70. /* default is prerelease */
  71. #if BETA
  72. #define VER_PRERELEASE VS_FF_PRERELEASE
  73. #else
  74. #define VER_PRERELEASE 0
  75. #endif
  76. #if OFFICIAL_BUILD
  77. #define VER_PRIVATE 0
  78. #else
  79. #define VER_PRIVATE VS_FF_PRIVATEBUILD
  80. #endif
  81. #define VER_FILEFLAGSMASK VS_FFI_FILEFLAGSMASK
  82. #define VER_FILEOS VOS_NT_WINDOWS32
  83. #define VER_FILEFLAGS (VER_PRERELEASE|VER_DEBUG|VER_PRIVATE)
  84. // @@BEGIN_DDKSPLIT
  85. #if 0
  86. // @@END_DDKSPLIT
  87. #define VER_COMPANYNAME_STR "Windows (R) 2000 DDK provider"
  88. #define VER_PRODUCTNAME_STR "Windows (R) 2000 DDK driver"
  89. #define VER_LEGALTRADEMARKS_STR \
  90. "Windows (R) is a registered trademark of Microsoft Corporation."
  91. // @@BEGIN_DDKSPLIT
  92. #else
  93. #define VER_COMPANYNAME_STR "Microsoft Corporation"
  94. #define VER_PRODUCTNAME_STR "Microsoft\256 Windows\256 Operating System"
  95. #define VER_LEGALTRADEMARKS_STR \
  96. "Microsoft\256 is a registered trademark of Microsoft Corporation. Windows\256 is a registered trademark of Microsoft Corporation."
  97. #endif
  98. // @@END_DDKSPLIT