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.

94 lines
4.3 KiB

  1. /**MOD+**********************************************************************/
  2. /* Module: aver.h */
  3. /* */
  4. /* Purpose: Version information */
  5. /* */
  6. /* Copyright(C) Microsoft Corporation 1997 */
  7. /* */
  8. /****************************************************************************/
  9. /** Changes:
  10. * $Log: Y:/logs/hydra/tshrclnt/inc/aver.h_v $
  11. *
  12. * Rev 1.4 30 Sep 1997 14:10:18 KH
  13. * SFR1471: y:\logs\hydra\tshrclnt\inc
  14. *
  15. * Rev 1.3 27 Aug 1997 10:43:06 ENH
  16. * SFR1030: Changed build number
  17. *
  18. * Rev 1.2 18 Jul 1997 17:20:40 ENH
  19. * SFR1030: Fixed octal bug
  20. *
  21. * Rev 1.1 18 Jul 1997 15:56:22 ENH
  22. * SFR1030: Added version information
  23. **/
  24. /**MOD-**********************************************************************/
  25. #ifndef OS_WINCE
  26. #include <ntverp.h>
  27. #else
  28. #include "bldver.h"
  29. #define VER_PRODUCTBUILD CE_BUILD_VER
  30. #endif
  31. #define DCVER_PRODUCTNAME_STR VER_PRODUCTNAME_STR
  32. #define DCVER_COMPANYNAME_STR VER_COMPANYNAME_STR
  33. #define DCVER_LEGALTRADEMARKS_STR VER_LEGALTRADEMARKS_STR
  34. #define DCVER_LEGALCOPYRIGHT_STR VER_COPYRIGHT_STR
  35. #define DCVER_EXEFILETYPE VFT_APP
  36. #define DCVER_DLLFILETYPE VFT_DLL
  37. #define DCVER_FILESUBTYPE 0
  38. #define DCVER_FILEFLAGSMASK VS_FFI_FILEFLAGSMASK
  39. #define DCVER_FILEFLAGS 0L
  40. #define DCVER_FILEOS VOS_NT_WINDOWS32
  41. /****************************************************************************/
  42. /* Th build number has the following format: */
  43. /* - the first 2 numbers are 4.0 which is the Win NT version targetted */
  44. /* - the third number is DCL build number, which is actually the date mmdd */
  45. /* - the fourth number is the Microsoft build number. */
  46. /* */
  47. /* Define the DCL build number - for convenience define as a number and as */
  48. /* a string. */
  49. /****************************************************************************/
  50. #define DCVER_BUILD_NUMBER VER_PRODUCTBUILD
  51. #define stringize(x) #x
  52. #define DCVER_BUILD_NUM_STR stringize(DCVER_BUILD_NUMBER)
  53. /****************************************************************************/
  54. /* Define the NT version, both numeric and string form. */
  55. /****************************************************************************/
  56. #define DCVER_NT_VERSION 4
  57. #define DCVER_NT_SUB_VERSION 0
  58. #define DCVER_NT_VERSION_STR "4.0"
  59. /****************************************************************************/
  60. /* The following section defines the version strings used throughout the */
  61. /* product. For convenience four different version strings are defined and */
  62. /* used throughout the product. */
  63. /****************************************************************************/
  64. #ifndef DCVER_VERSION
  65. #define DCVER_VERSION DCVER_NT_VERSION, \
  66. DCVER_NT_SUB_VERSION, \
  67. DCVER_BUILD_NUMBER, \
  68. VERSIONBUILD
  69. #endif
  70. #ifndef DCVER_VERSION_STR
  71. #define DCVER_VERSION_STR DCVER_NT_VERSION_STR "." DCVER_BUILD_NUM_STR "." \
  72. VERSIONBUILD_STR
  73. #endif
  74. #ifndef DCVER_PRODUCTVERSION_STR
  75. #define DCVER_PRODUCTVERSION_STR VER_PRODUCTRELEASE_STR
  76. #endif
  77. #ifdef DCVER_VERNUM
  78. #undef DCVER_VERSION
  79. #define DCVER_VERSION DCVER_VERNUM
  80. #endif
  81. /****************************************************************************/
  82. /* DCVER_BUILD_STR is a string containing the same information as */
  83. /* DCVER_VERSION. */
  84. /****************************************************************************/
  85. #define DCVER_BUILD_STR DCVER_NT_VERSION_STR "." DCVER_BUILD_NUM_STR "." \
  86. VERSIONBUILD_STR