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.

84 lines
2.7 KiB

  1. //----------------------------------------------------------------------------
  2. //
  3. // Debugger package binary version information.
  4. //
  5. // Copyright (C) Microsoft Corporation, 2000-2002.
  6. //
  7. //----------------------------------------------------------------------------
  8. #if _MSC_VER > 1000
  9. #pragma once
  10. #endif
  11. #ifdef OFFICIAL_BUILD
  12. #include <ntverp.h>
  13. #else
  14. #define VER_PRODUCTMAJORVERSION 6
  15. #define VER_PRODUCTMINORVERSION 1
  16. #define VER_PRODUCTBUILD 10
  17. #define VER_PRODUCTBUILD_QFE 0
  18. #define VER_PRODUCTVERSION_W (0x0100)
  19. #define VER_PRODUCTVERSION_DW (0x01000000 | VER_PRODUCTBUILD)
  20. #define VER_PRODUCTBETA_STR ""
  21. #define VER_PRODUCTVERSION_MAJORMINOR2(x,y) #x "." #y
  22. #define VER_PRODUCTVERSION_MAJORMINOR1(x,y) VER_PRODUCTVERSION_MAJORMINOR2(x, y)
  23. #define VER_PRODUCTVERSION_STRING VER_PRODUCTVERSION_MAJORMINOR1(VER_PRODUCTMAJORVERSION, VER_PRODUCTMINORVERSION)
  24. #define VER_PRODUCTVERSION VER_PRODUCTMAJORVERSION,VER_PRODUCTMINORVERSION,VER_PRODUCTBUILD,VER_PRODUCTBUILD_QFE
  25. #if (VER_PRODUCTBUILD < 10)
  26. #define VER_BPAD "000"
  27. #elif (VER_PRODUCTBUILD < 100)
  28. #define VER_BPAD "00"
  29. #elif (VER_PRODUCTBUILD < 1000)
  30. #define VER_BPAD "0"
  31. #else
  32. #define VER_BPAD
  33. #endif
  34. #define VER_PRODUCTVERSION_STR2(x,y) VER_PRODUCTVERSION_STRING "." VER_BPAD #x "." #y
  35. #define VER_PRODUCTVERSION_STR1(x,y) VER_PRODUCTVERSION_STR2(x, y)
  36. #define VER_PRODUCTVERSION_STR VER_PRODUCTVERSION_STR1(VER_PRODUCTBUILD, VER_PRODUCTBUILD_QFE)
  37. /*--------------------------------------------------------------*/
  38. /* the following section defines values used in the version */
  39. /* data structure for all files, and which do not change. */
  40. /*--------------------------------------------------------------*/
  41. /* default is nodebug */
  42. #if DBG
  43. #define VER_DEBUG VS_FF_DEBUG
  44. #else
  45. #define VER_DEBUG 0
  46. #endif
  47. /* default is prerelease */
  48. #if BETA
  49. #define VER_PRERELEASE VS_FF_PRERELEASE
  50. #else
  51. #define VER_PRERELEASE 0
  52. #endif
  53. #if OFFICIAL_BUILD
  54. #define VER_PRIVATE 0
  55. #else
  56. #define VER_PRIVATE VS_FF_PRIVATEBUILD
  57. #endif
  58. #define VER_FILEFLAGSMASK VS_FFI_FILEFLAGSMASK
  59. #define VER_FILEOS VOS_NT_WINDOWS32
  60. #define VER_FILEFLAGS (VER_PRERELEASE|VER_DEBUG|VER_PRIVATE)
  61. #define VER_COMPANYNAME_STR "Microsoft Corporation"
  62. #define VER_PRODUCTNAME_STR "Debugging Tools for Windows(R)"
  63. #define VER_LEGALTRADEMARKS_STR \
  64. "Microsoft(R) is a registered trademark of Microsoft Corporation. Windows (R) is a registered trademark of Microsoft Corporation."
  65. #endif
  66. #ifndef _WIN32_WCE
  67. #include <common.ver>
  68. #endif