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.

124 lines
3.1 KiB

  1. /*
  2. * verinfo.h - header file to define the build version
  3. *
  4. */
  5. //
  6. // Force all builds to default to private
  7. //
  8. //#ifdef OFFICIAL_BUILD
  9. #define OFFICIAL 1
  10. //#endif
  11. #ifndef DIRECTX_REDIST
  12. // On official whistler build machines, the DX bits should not be timebombed, so
  13. // we say that all whislter builds are "final release":
  14. #define DX_FINAL_RELEASE 1
  15. #else
  16. // On DX build machines and private developer builds, we use non-final release builds
  17. // unless this var. is set in the environment or uncommented here:
  18. // Uncomment the following line for a non time bombed build
  19. #define DX_FINAL_RELEASE 1
  20. #endif
  21. #ifndef DX_FINAL_RELEASE
  22. #define DX_EXPIRE_YEAR 2001
  23. #define DX_EXPIRE_MONTH 9 /* Jan=1, Feb=2, etc .. */
  24. #define DX_EXPIRE_DAY 1
  25. #define DX_EXPIRE_TEXT TEXT("This pre-release version of DirectX has expired, please upgrade to the latest version from http://www.microsoft.com/directx")
  26. #endif
  27. #define MANVERSION 4
  28. #define MANREVISION 8
  29. #define MANMINORREV 1
  30. #define BUILD_NUMBER 612
  31. #define RC_NUMBER 0
  32. #ifdef RC_INVOKED
  33. #define VERSIONPRODUCTNAME "Microsoft\256 DirectX for Windows\256 95 and 98\0"
  34. #define VERSIONCOPYRIGHT "Copyright \251 Microsoft Corp. 1994-2000\0"
  35. #endif
  36. /***************************************************************************
  37. * DO NOT TOUCH BELOW THIS LINE *
  38. ***************************************************************************/
  39. #ifdef RC_INVOKED
  40. #define VERSIONCOMPANYNAME "Microsoft Corporation\0"
  41. /*
  42. * Version flags
  43. */
  44. //
  45. // these two #define's are for RTM release
  46. //
  47. #define FINAL
  48. #undef VER_PRIVATEBUILD
  49. #ifndef OFFICIAL
  50. #define VER_PRIVATEBUILD VS_FF_PRIVATEBUILD
  51. #else
  52. #define VER_PRIVATEBUILD 0
  53. #endif
  54. #undef VER_PRERELEASE
  55. #ifndef FINAL
  56. #define VER_PRERELEASE VS_FF_PRERELEASE
  57. #else
  58. #define VER_PRERELEASE 0
  59. #endif
  60. #undef VER_DEBUG
  61. #ifdef DEBUG
  62. #define VER_DEBUG VS_FF_DEBUG
  63. #elif RDEBUG
  64. #define VER_DEBUG VS_FF_DEBUG
  65. #else
  66. #define VER_DEBUG 0
  67. #endif
  68. #define VERSIONFLAGS (VER_PRIVATEBUILD|VER_PRERELEASE|VER_DEBUG)
  69. #define VERSIONFILEFLAGSMASK 0x0030003FL
  70. #endif
  71. #ifdef ADJ_MANREVISION
  72. #undef MANREVISION
  73. // extra spaces intended to correct a problem
  74. #define MANREVISION ADJ_MANREVISION
  75. #endif
  76. #if (MANMINORREV < 10)
  77. #define MMR_BPAD "0"
  78. #else
  79. #define MMR_BPAD
  80. #endif
  81. #if (MANREVISION < 10)
  82. #define MR_BPAD "0"
  83. #else
  84. #define MR_BPAD
  85. #endif
  86. #if (BUILD_NUMBER < 10)
  87. #define BN_BPAD "000"
  88. #elif (BUILD_NUMBER < 100)
  89. #define BN_BPAD "00"
  90. #elif (BUILD_NUMBER < 1000)
  91. #define BN_BPAD "0"
  92. #else
  93. #define BN_BPAD ""
  94. #endif
  95. #define BUILD_NUMBER_STR2(x) BN_BPAD #x
  96. #define BUILD_NUMBER_STR1(x) BUILD_NUMBER_STR2(x)
  97. #define BUILD_NUMBER_STR BUILD_NUMBER_STR1(BUILD_NUMBER)
  98. #define VERSION_STR2(w,x,y,z) #w "." MR_BPAD #x "." MMR_BPAD #y "." BN_BPAD #z
  99. #define VERSION_STR1(w,x,y,z) VERSION_STR2(w, x, y, z)
  100. #define VERSIONSTR VERSION_STR1(MANVERSION, MANREVISION, MANMINORREV, BUILD_NUMBER)