ntverp.h 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122
  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 2180
  25. #ifndef NO_RC_VERSION
  26. #define VER_PRODUCTRCVERSION (554)
  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. #elif defined(DXOS)
  32. //DirectX using higher versioning for certain binaries in XPSP2
  33. #include <dxverp.h>
  34. #else
  35. #define VER_PRODUCTMAJORVERSION 5
  36. #define VER_PRODUCTMINORVERSION 1
  37. #define VER_PRODUCTBETA_STR /* NT */ ""
  38. #define VER_PRODUCTVERSION_MAJORMINOR2(x,y) #x "." #y
  39. #define VER_PRODUCTVERSION_MAJORMINOR1(x,y) VER_PRODUCTVERSION_MAJORMINOR2(x, y)
  40. #define VER_PRODUCTVERSION_STRING VER_PRODUCTVERSION_MAJORMINOR1(VER_PRODUCTMAJORVERSION, VER_PRODUCTMINORVERSION)
  41. #define VER_PRODUCTVERSION VER_PRODUCTMAJORVERSION,VER_PRODUCTMINORVERSION,VER_PRODUCTBUILD,VER_PRODUCTBUILD_QFE
  42. #define VER_PRODUCTVERSION_W (0x0501)
  43. #define VER_PRODUCTVERSION_DW (0x05010000 | VER_PRODUCTBUILD)
  44. /*--------------------------------------------------------------*/
  45. /* this value is used by third party drivers build with the DDK */
  46. /* and internally, to avoid version number conflicts. */
  47. /*--------------------------------------------------------------*/
  48. #define VER_DDK_PRODUCTVERSION 5,01
  49. #define VER_DDK_PRODUCTVERSION_STR "5.01"
  50. #endif
  51. #if (VER_PRODUCTBUILD < 10)
  52. #define VER_BPAD "000"
  53. #elif (VER_PRODUCTBUILD < 100)
  54. #define VER_BPAD "00"
  55. #elif (VER_PRODUCTBUILD < 1000)
  56. #define VER_BPAD "0"
  57. #else
  58. #define VER_BPAD
  59. #endif
  60. #define VER_PRODUCTVERSION_STR2(x,y) VER_PRODUCTVERSION_STRING "." VER_BPAD #x "." #y
  61. #define VER_PRODUCTVERSION_STR1(x,y) VER_PRODUCTVERSION_STR2(x, y)
  62. #define VER_PRODUCTVERSION_STR VER_PRODUCTVERSION_STR1(VER_PRODUCTBUILD, VER_PRODUCTBUILD_QFE)
  63. /*--------------------------------------------------------------*/
  64. /* the following section defines values used in the version */
  65. /* data structure for all files, and which do not change. */
  66. /*--------------------------------------------------------------*/
  67. /* default is nodebug */
  68. #if DBG
  69. #define VER_DEBUG VS_FF_DEBUG
  70. #else
  71. #define VER_DEBUG 0
  72. #endif
  73. /* default is prerelease */
  74. #if BETA
  75. #define VER_PRERELEASE VS_FF_PRERELEASE
  76. #else
  77. #define VER_PRERELEASE 0
  78. #endif
  79. #if OFFICIAL_BUILD
  80. #define VER_PRIVATE 0
  81. #else
  82. #define VER_PRIVATE VS_FF_PRIVATEBUILD
  83. #endif
  84. #define VER_FILEFLAGSMASK VS_FFI_FILEFLAGSMASK
  85. #define VER_FILEOS VOS_NT_WINDOWS32
  86. #define VER_FILEFLAGS (VER_PRERELEASE|VER_DEBUG|VER_PRIVATE)
  87. // @@BEGIN_DDKSPLIT
  88. #if 0
  89. // @@END_DDKSPLIT
  90. #define VER_COMPANYNAME_STR "Windows (R) 2000 DDK provider"
  91. #define VER_PRODUCTNAME_STR "Windows (R) 2000 DDK driver"
  92. #define VER_LEGALTRADEMARKS_STR \
  93. "Windows (R) is a registered trademark of Microsoft Corporation."
  94. // @@BEGIN_DDKSPLIT
  95. #else
  96. #define VER_COMPANYNAME_STR "Microsoft Corporation"
  97. #define VER_PRODUCTNAME_STR "Microsoft\256 Windows\256 Operating System"
  98. #define VER_LEGALTRADEMARKS_STR \
  99. "Microsoft\256 is a registered trademark of Microsoft Corporation. Windows\256 is a registered trademark of Microsoft Corporation."
  100. #endif
  101. // @@END_DDKSPLIT