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.

65 lines
1.6 KiB

  1. #include "version.h" /* SLM maintained version file */
  2. #include <winver.h>
  3. #if (rmm < 10)
  4. #define rmmpad "0"
  5. #else
  6. #define rmmpad
  7. #endif
  8. #if (rup == 0)
  9. #define VERSION_STR1(a,b,c) #a "." rmmpad #b
  10. #else /* !(rup == 0) */
  11. #define VERSION_STR1(a,b,c) #a "." rmmpad #b "." ruppad #c
  12. #if (rup < 10)
  13. #define ruppad "000"
  14. #elif (rup < 100)
  15. #define ruppad "00"
  16. #elif (rup < 1000)
  17. #define ruppad "0"
  18. #else
  19. #define ruppad
  20. #endif
  21. #endif /* !(rup == 0) */
  22. #define VERSION_STR2(a,b,c) VERSION_STR1(a,b,c)
  23. #define VER_PRODUCTVERSION_STR VERSION_STR2(rmj,rmm,rup)
  24. #define VER_PRODUCTVERSION rmj,rmm,0,rup
  25. /*--------------------------------------------------------------*/
  26. /* the following section defines values used in the version */
  27. /* data structure for all files, and which do not change. */
  28. /*--------------------------------------------------------------*/
  29. #ifdef RETAIL
  30. #define VER_DEBUG 0
  31. #else
  32. #define VER_DEBUG VS_FF_DEBUG
  33. #endif
  34. #if (rup == 0) /* CONSIDER */
  35. #define VER_PRIVATEBUILD 0
  36. #else
  37. #define VER_PRIVATEBUILD VS_FF_PRIVATEBUILD
  38. #endif
  39. #if (rup == 0)
  40. #define VER_PRERELEASE 0
  41. #else
  42. #define VER_PRERELEASE VS_FF_PRERELEASE
  43. #endif
  44. #define VER_FILEFLAGSMASK VS_FFI_FILEFLAGSMASK
  45. #define VER_FILEOS VOS_DOS_WINDOWS16
  46. #define VER_FILEFLAGS (VER_PRIVATEBUILD|VER_PRERELEASE|VER_DEBUG)
  47. #define VER_COMPANYNAME_STR "Microsoft Corporation"
  48. #define VER_PRODUCTNAME_STR "Microsoft\256 Exchange Database Engine"
  49. #define VER_LEGALTRADEMARKS_STR \
  50. "Microsoft\256 is a registered trademark of Microsoft Corporation."
  51.