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.

115 lines
5.6 KiB

  1. /**INC+**********************************************************************/
  2. /* ndcgver.h */
  3. /* */
  4. /* DC-Groupware global version header */
  5. /* */
  6. /* Copyright(c) Microsoft 1996-1997 */
  7. /* */
  8. /****************************************************************************/
  9. /* Changes: */
  10. /* */
  11. // $Log: Y:/logs/h/dcl/NDCGVER.H_v $
  12. //
  13. // Rev 1.2 23 Jul 1997 10:48:02 mr
  14. // SFR1079: Merged \server\h duplicates to \h\dcl
  15. //
  16. // Rev 1.1 19 Jun 1997 21:56:20 OBK
  17. // SFR0000: Start of RNS codebase
  18. /* */
  19. /**INC-**********************************************************************/
  20. #ifdef RC_INVOKED
  21. #include <version.h>
  22. /****************************************************************************/
  23. /* The following defines are fixed for DC-Groupware. */
  24. /****************************************************************************/
  25. #ifndef OS_WINCE
  26. #define DCS_PRODUCTNAME_STR VER_PRODUCTNAME_STR
  27. #define DCS_COMPANYNAME_STR VER_COMPANYNAME_STR
  28. #define DCS_LEGALTRADEMARKS_STR VER_LEGALTRADEMARKS_STR
  29. #define DCS_LEGALCOPYRIGHT_STR VER_COPYRIGHT_STR
  30. #define DCS_EXEFILETYPE VFT_APP
  31. #define DCS_DLLFILETYPE VFT_DLL
  32. #define DCS_FILESUBTYPE 0
  33. #define DCS_FILEFLAGSMASK VS_FFI_FILEFLAGSMASK
  34. #define DCS_FILEOS VOS_NT_WINDOWS32
  35. #define DCS_FILEFLAGS 0L
  36. #else // OS_WINCE
  37. #define DCS_PRODUCTNAME_STR VER_PRODUCTNAME_STR
  38. #define DCS_COMPANYNAME_STR VER_COMPANYNAME_STR
  39. #define DCS_LEGALTRADEMARKS_STR VER_LEGALTRADEMARKS_STR
  40. #define DCS_LEGALCOPYRIGHT_STR VER_COPYRIGHT_STR
  41. #define DCS_EXEFILETYPE 0
  42. #define DCS_DLLFILETYPE 0
  43. #define DCS_FILESUBTYPE 0
  44. #define DCS_FILEFLAGSMASK 0
  45. #define DCS_FILEOS 0
  46. #define DCS_FILEFLAGS 0L
  47. #endif // OS_WINCE
  48. /****************************************************************************/
  49. /* For DC-Groupware NT */
  50. /* */
  51. /* The following section defines the version strings used throughout the */
  52. /* product. For convenience four different version strings are defined and */
  53. /* used throughout the product. Each of these has a similar format (except */
  54. /* for DCS_CAPTION_STR) of four numbers separated by periods. */
  55. /* */
  56. /* - the first 2 numbers are 4.0 which is the Win NT version targetted */
  57. /* - the third number is DCL build number - which is actually the date */
  58. /* - the fourth number is the Microsoft build number */
  59. /* */
  60. /* Of these the build number is automatically updated overnight by the */
  61. /* translation program and is based on a combination of the date and the */
  62. /* month. Thus for a build on the 1st of March 1996 the build number is */
  63. /* 0301. Note that the year is ignored. */
  64. /****************************************************************************/
  65. #ifndef DCS_VERSION
  66. #define DCS_VERSION 4,0,~DCS_DATE_FMT_MMDD,VERSIONBUILD
  67. #endif
  68. #ifndef DCS_VERSION_STR
  69. #define DCS_VERSION_STR "4.0.~DCS_DATE_FMT_MMDD." VERSIONBUILD_STR
  70. #endif
  71. #ifndef DCS_PRODUCTVERSION_STR
  72. #define DCS_PRODUCTVERSION_STR VER_PRODUCTRELEASE_STR
  73. #endif
  74. #ifndef DCS_CAPTION_STR
  75. #define DCS_CAPTION_STR "~RNS - build ~DCS_DATE_FMT_MMDD"
  76. #endif
  77. #ifdef DCS_VERNUM
  78. #undef DCS_VERSION
  79. #define DCS_VERSION DCS_VERNUM
  80. #endif
  81. #endif /* RC_INVOKED */
  82. /****************************************************************************/
  83. /* DCS_BUILD_STR is a string containing the same information as */
  84. /* DCS_VERSION. It is excluded from the RC section to allow NDCGVER.H to */
  85. /* be included from C files. */
  86. /****************************************************************************/
  87. #define DCS_BUILD_STR "4.0.~DCS_DATE_FMT_MMDD."VERSIONBUILD_STR
  88. #define DCS_BUILD_NUMBER ~DCS_DATE_FMT_MMDD
  89. /****************************************************************************/
  90. /* This allows the ring 3 code and ring 0 code to check each other, make */
  91. /* sure they are the same version. We're changing setup and getting close */
  92. /* to shipping version 2.0, we want to prevent weird faults and blue */
  93. /* screens caused by mismatched components. This is not something we will */
  94. /* do forever. When NT 5 is here, we'll dyna load and init our driver at */
  95. /* startup and terminate it at shutdown. But for now, since installing */
  96. /* one of these beasts is messsy, an extra sanity check is a good thing. */
  97. /****************************************************************************/
  98. #define DCS_PRODUCT_NUMBER 2 /* Version 2.0 of NM */
  99. #define DCS_MAKE_VERSION() MAKELONG(VERSIONBUILD, DCS_PRODUCT_NUMBER)