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.

135 lines
5.4 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 */ 3790
  24. #define VER_PRODUCTBUILD_QFE 0
  25. #if defined(NASHVILLE)
  26. // IE components now use NT's VER_PRODUCTBUILD, but define other different major/minor version #'s
  27. #include <ieverp.h>
  28. #else
  29. #define VER_PRODUCTMAJORVERSION 5
  30. #define VER_PRODUCTMINORVERSION 2
  31. #define VER_PRODUCTBETA_STR /* NT */ ""
  32. #define VER_PRODUCTVERSION_MAJORMINOR2(x,y) #x "." #y
  33. #define VER_PRODUCTVERSION_MAJORMINOR1(x,y) VER_PRODUCTVERSION_MAJORMINOR2(x, y)
  34. #define VER_PRODUCTVERSION_STRING VER_PRODUCTVERSION_MAJORMINOR1(VER_PRODUCTMAJORVERSION, VER_PRODUCTMINORVERSION)
  35. #define LVER_PRODUCTVERSION_MAJORMINOR2(x,y) L#x L"." L#y
  36. #define LVER_PRODUCTVERSION_MAJORMINOR1(x,y) LVER_PRODUCTVERSION_MAJORMINOR2(x, y)
  37. #define LVER_PRODUCTVERSION_STRING LVER_PRODUCTVERSION_MAJORMINOR1(VER_PRODUCTMAJORVERSION, VER_PRODUCTMINORVERSION)
  38. #define VER_PRODUCTVERSION VER_PRODUCTMAJORVERSION,VER_PRODUCTMINORVERSION,VER_PRODUCTBUILD,VER_PRODUCTBUILD_QFE
  39. #define VER_PRODUCTVERSION_W (0x0502)
  40. #define VER_PRODUCTVERSION_DW (0x05020000 | 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,02
  46. #define VER_DDK_PRODUCTVERSION_STR "5.02"
  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. #if (VER_PRODUCTBUILD < 10)
  58. #define LVER_BPAD L"000"
  59. #elif (VER_PRODUCTBUILD < 100)
  60. #define LVER_BPAD L"00"
  61. #elif (VER_PRODUCTBUILD < 1000)
  62. #define LVER_BPAD L"0"
  63. #else
  64. #define LVER_BPAD
  65. #endif
  66. #define VER_PRODUCTVERSION_STR2(x,y) VER_PRODUCTVERSION_STRING "." VER_BPAD #x "." #y
  67. #define VER_PRODUCTVERSION_STR1(x,y) VER_PRODUCTVERSION_STR2(x, y)
  68. #define VER_PRODUCTVERSION_STR VER_PRODUCTVERSION_STR1(VER_PRODUCTBUILD, VER_PRODUCTBUILD_QFE)
  69. #define LVER_PRODUCTVERSION_STR2(x,y) LVER_PRODUCTVERSION_STRING L"." LVER_BPAD L#x L"." L#y
  70. #define LVER_PRODUCTVERSION_STR1(x,y) LVER_PRODUCTVERSION_STR2(x, y)
  71. #define LVER_PRODUCTVERSION_STR LVER_PRODUCTVERSION_STR1(VER_PRODUCTBUILD, VER_PRODUCTBUILD_QFE)
  72. /*--------------------------------------------------------------*/
  73. /* the following section defines values used in the version */
  74. /* data structure for all files, and which do not change. */
  75. /*--------------------------------------------------------------*/
  76. /* default is nodebug */
  77. #if DBG
  78. #define VER_DEBUG VS_FF_DEBUG
  79. #else
  80. #define VER_DEBUG 0
  81. #endif
  82. /* default is prerelease */
  83. #if BETA
  84. #define VER_PRERELEASE VS_FF_PRERELEASE
  85. #else
  86. #define VER_PRERELEASE 0
  87. #endif
  88. #if OFFICIAL_BUILD
  89. #define VER_PRIVATE 0
  90. #else
  91. #define VER_PRIVATE VS_FF_PRIVATEBUILD
  92. #endif
  93. #define VER_FILEFLAGSMASK VS_FFI_FILEFLAGSMASK
  94. #define VER_FILEOS VOS_NT_WINDOWS32
  95. #define VER_FILEFLAGS (VER_PRERELEASE|VER_DEBUG|VER_PRIVATE)
  96. // @@BEGIN_DDKSPLIT
  97. #if 0
  98. // @@END_DDKSPLIT
  99. #define VER_COMPANYNAME_STR "Windows (R) Server 2003 DDK provider"
  100. #define VER_PRODUCTNAME_STR "Windows (R) Server 2003 DDK driver"
  101. #define VER_LEGALTRADEMARKS_STR \
  102. "Windows (R) is a registered trademark of Microsoft Corporation."
  103. // @@BEGIN_DDKSPLIT
  104. #else
  105. #define VER_COMPANYNAME_STR "Microsoft Corporation"
  106. #ifdef RC_INVOKED
  107. #define VER_PRODUCTNAME_STR L"Microsoft\256 Windows\256 Operating System"
  108. #else
  109. #define VER_PRODUCTNAME_STR "Microsoft\256 Windows\256 Operating System"
  110. #endif
  111. #define VER_LEGALTRADEMARKS_STR \
  112. "Microsoft\256 is a registered trademark of Microsoft Corporation. Windows\256 is a registered trademark of Microsoft Corporation."
  113. #endif
  114. // @@END_DDKSPLIT