Source code of Windows XP (NT5)
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.

145 lines
3.5 KiB

  1. //--------------------------------------------------------------------------
  2. //
  3. // Quartz.ver
  4. //
  5. // Description:
  6. // Common versioning information for Quartz binaries
  7. //
  8. // Notes:
  9. //
  10. //--------------------------------------------------------------------------
  11. #ifndef _QUARTZ_VER_
  12. #define _QUARTZ_VER_
  13. #ifdef QBUILD_VER
  14. #include <qbuild.ver>
  15. #include <ntverp.h>
  16. #undef VERSION_RES_VERSION
  17. #undef VERSION_RES_VERSION_D
  18. #define VERSION_STR(w,x,y,z) #w "." #x "." #y "." #z
  19. #define VERSION_STRX(w,x,y,z) VERSION_STR(w, x, y, z)
  20. #define VERSION_RES_VERSION_TMP VERSION_STRX(VERSION_RES_VER_MAJOR, VERSION_RES_VER_MINOR, VER_PRODUCTBUILD, VER_PRODUCTBUILD_QFE)
  21. #define VERSION_RES_VERSION VERSION_RES_VERSION_TMP "\0"
  22. #define VERSION_RES_VERSION_D VERSION_RES_VERSION_TMP " (debug)\0"
  23. #endif
  24. #ifdef DXBUILD_VER
  25. #include <verinfo.h>
  26. #undef VERSION_RES_BLD_MINOR
  27. #undef VERSION_RES_VERSION
  28. #undef VERSION_RES_VERSION_D
  29. #define VERSION_RES_BLD_MINOR BUILD_NUMBER
  30. #define VERSION_STR(w,x,y) #w "." #x "." #y "."
  31. #define VERSION_STRX(w,x,y) VERSION_STR(w, x, y)
  32. #define VERSION_RES_VERSION_TMP VERSION_STRX(VERSION_RES_VER_MAJOR, VERSION_RES_VER_MINOR, VERSION_RES_BLD_MAJOR) BUILD_NUMBER_STR
  33. #define VERSION_RES_VERSION VERSION_RES_VERSION_TMP "\0"
  34. #define VERSION_RES_VERSION_D VERSION_RES_VERSION_TMP " (debug)\0"
  35. #else
  36. #undef VERSION_RES_BLD_MINOR
  37. #define VERSION_RES_BLD_MINOR VER_PRODUCTBUILD
  38. #endif
  39. // NOTE! all string resources that will be used in QUARTZ.RCV for the
  40. // version resource information *MUST* have an explicit \0 terminator!
  41. #ifndef VERSION_RES_VER_MAJOR
  42. #define VERSION_RES_VER_MAJOR 4
  43. #endif
  44. #ifndef VERSION_RES_VER_MINOR
  45. #define VERSION_RES_VER_MINOR 02
  46. #endif
  47. #ifndef VERSION_RES_BLD_MAJOR
  48. #define VERSION_RES_BLD_MAJOR 00
  49. #endif
  50. #ifndef VERSION_RES_BLD_MINOR
  51. #define VERSION_RES_BLD_MINOR 0000
  52. #endif
  53. #if 1
  54. #ifndef VERSION_RES_VERSION_D
  55. #define VERSION_RES_VERSION_D "Private (debug)\0"
  56. #endif
  57. #ifndef VERSION_RES_VERSION
  58. #define VERSION_RES_VERSION "Private\0"
  59. #endif
  60. #else
  61. #ifdef DEBUG
  62. #ifdef _ALPHA_
  63. #define VERSION_RES_VERSION "Version 1.0 (Alpha) Debug\0"
  64. #else
  65. #ifdef _PPC_
  66. #define VERSION_RES_VERSION "Version 1.0 (PowerPC) Debug\0"
  67. #else
  68. #ifdef _MIPS_
  69. #define VERSION_RES_VERSION "Version 1.0 (R4x00) Debug)\0"
  70. #else
  71. #define VERSION_RES_VERSION "Version 1.0 (x86) Debug)\0"
  72. #endif
  73. #endif
  74. #endif
  75. #else
  76. #ifdef _ALPHA_
  77. #define VERSION_RES_VERSION "Version 1.0 (Alpha)\0"
  78. #else
  79. #ifdef _PPC_
  80. #define VERSION_RES_VERSION "Version 1.0 (PowerPC)\0"
  81. #else
  82. #ifdef _MIPS_
  83. #define VERSION_RES_VERSION "Version 1.0 (R4x00)\0"
  84. #else
  85. #define VERSION_RES_VERSION "Version 1.0 (x86)\0"
  86. #endif
  87. #endif
  88. #endif
  89. #endif
  90. #endif
  91. #define VERSION_RES_PRODUCTNAME "DirectShow\0"
  92. #define VERSION_RES_COMPANYNAME "Microsoft Corporation\0"
  93. #define VERSION_RES_COPYRIGHT "Copyright (C) 1992-2001 Microsoft Corp.\0"
  94. #define TEMP STRING( VERSION_RES_VER_BUILD )
  95. //#define VERSION_RES_BUILD "00.0000\0"
  96. #ifndef VERSION_RES_BUILD
  97. #define VERSION_RES_BUILD "Private\0"
  98. #endif
  99. #ifndef VERSION_RES_ACTIVEX
  100. #define VERSION_RES_ACTIVEX "Filter"
  101. #endif
  102. // The following additional file-spcific defines are also required
  103. // (remember the trainilng '/0' !!).
  104. //
  105. // #define VERSION_RES_BIN_NAME "filter.dll\0"
  106. // #define VERSION_RES_BIN_DESCRIPTION "A Quartz Filter\0"
  107. //
  108. // also the following, if you do not want the default values
  109. //
  110. // #define VERSION_RES_TYPE VFT_DLL
  111. // #define VERSION_RES_SUBTYPE VFT2_UNKNOWN
  112. //
  113. // see winver.h for further details
  114. #endif
  115. // _QUARTZ_VER_