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.

60 lines
2.1 KiB

  1. // DO NOT Edit this file w/o consulting with the PTT Build tools team!
  2. // Change VER_PRODUCTBUILD and VER_PRODUCTBUILD_QFE as appropriate.
  3. #ifndef MTSCRIPT_BUILDNUMBER
  4. #error MTSCRIPT_BUILDNUMBER must be defined for official builds!
  5. #endif
  6. #ifndef MTSCRIPT_QFENUMBER
  7. #error MTSCRIPT_QFENUMBER must be defined for official builds!
  8. #endif
  9. #define VER_MAJOR_PRODUCTVER 1
  10. #define VER_MINOR_PRODUCTVER 00
  11. #define VER_PRODUCTBUILD MTSCRIPT_BUILDNUMBER
  12. #define VER_PRODUCTBUILD_QFE MTSCRIPT_QFENUMBER
  13. #define VER_PRODUCTVERSION VER_MAJOR_PRODUCTVER,VER_MINOR_PRODUCTVER,VER_PRODUCTBUILD,VER_PRODUCTBUILD_QFE
  14. #define VER_PRODUCTVERSION_W (0x0100)
  15. #define VER_PRODUCTVERSION_DW (0x01000000 | VER_PRODUCTBUILD)
  16. /* default is nodebug */
  17. #if DBG
  18. #define VER_DEBUG VS_FF_DEBUG
  19. #else
  20. #define VER_DEBUG 0
  21. #endif
  22. #define VER_FILEFLAGSMASK VS_FFI_FILEFLAGSMASK
  23. #define VER_FILEOS VOS_NT_WINDOWS32
  24. #define VER_FILEFLAGS (VER_DEBUG)
  25. #define VER_COMPANYNAME_STR "Microsoft Corporation"
  26. #define VER_PRODUCTNAME_STR "Microsoft(R) MultiThreaded Script Engine"
  27. #define VER_LEGALTRADEMARKS_STR \
  28. "Microsoft(R) is a registered trademark of Microsoft Corporation. Windows (R) is a registered trademark of Microsoft Corporation."
  29. // READ THIS
  30. // Do not change VER_PRODUCTVERSION_STRING.
  31. //
  32. // The code below will take VER_PRODUCTVERSION_STRING and create a version
  33. // string that includes the QFE number & etc.
  34. //
  35. #define VER_PRODUCTBETA_STR ""
  36. #define VER_PRODUCTVERSION_STRING "1.00"
  37. #if (VER_PRODUCTBUILD < 10)
  38. #define VER_BPAD "000"
  39. #elif (VER_PRODUCTBUILD < 100)
  40. #define VER_BPAD "00"
  41. #elif (VER_PRODUCTBUILD < 1000)
  42. #define VER_BPAD "0"
  43. #else
  44. #define VER_BPAD
  45. #endif
  46. #define VER_PRODUCTVERSION_STR2(x,y) VER_PRODUCTVERSION_STRING "." VER_BPAD #x "." #y
  47. #define VER_PRODUCTVERSION_STR1(x,y) VER_PRODUCTVERSION_STR2(x, y)
  48. #define VER_PRODUCTVERSION_STR VER_PRODUCTVERSION_STR1(VER_PRODUCTBUILD, VER_PRODUCTBUILD_QFE)