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.

148 lines
3.4 KiB

  1. //---------------------------------------------------------------------------
  2. //
  3. // Quartz.rcv
  4. //
  5. // INTERNAL QUARTZ VERSION RESOURCE FILE
  6. //
  7. // Description:
  8. // This file defines the version resource used for all Quartz non-SDK
  9. // binaries - including runtimes, tests, and tools.
  10. //
  11. // Notes:
  12. // All strings MUST have an explicit \0 for termination!
  13. //
  14. // For a complete description of the Version Resource, search the
  15. // Microsoft Developer's Network (MSDN) CD-ROM for 'version resource'.
  16. //
  17. //---------------------------------------------------------------------------
  18. #ifndef _QUARTZ_RCV_
  19. #define _QUARTZ_RCV_
  20. #ifdef WIN32
  21. #include <winver.h>
  22. #else
  23. #include <ver.h>
  24. #endif
  25. #ifndef _QUARTZ_VER_
  26. #include <quartz.ver>
  27. #endif
  28. //
  29. // Version flags.
  30. //
  31. // OFFICIAL and FINAL should be defined when appropriate.
  32. //
  33. #ifndef OFFICIAL
  34. #define VER_PRIVATEBUILD VS_FF_PRIVATEBUILD
  35. #else
  36. #define VER_PRIVATEBUILD 0
  37. #endif
  38. #ifndef FINAL
  39. #define VER_PRERELEASE VS_FF_PRERELEASE
  40. #else
  41. #define VER_PRERELEASE 0
  42. #endif
  43. #ifdef DEBUG
  44. #define VER_DEBUG VS_FF_DEBUG
  45. #else
  46. #define VER_DEBUG 0
  47. #endif
  48. //
  49. // Quartz information
  50. //
  51. // See Quartz.ver for global defines.
  52. // See individual projects for file specific defines.
  53. //
  54. #define VERSION_RES_FLAGSMASK 0x0030003FL
  55. #define VERSION_RES_FLAGS (VER_PRIVATEBUILD|VER_PRERELEASE|VER_DEBUG)
  56. #ifdef WIN32
  57. #define VERSION_RES_OS VOS__WINDOWS32
  58. #else
  59. #define VERSION_RES_OS VOS_DOS_WINDOWS16
  60. #endif
  61. #ifndef VERSION_RES_TYPE
  62. #define VERSION_RES_TYPE VFT_DLL
  63. #endif
  64. #ifndef VERSION_RES_SUBTYPE
  65. #define VERSION_RES_SUBTYPE VFT2_UNKNOWN
  66. #endif
  67. #define VERSION_RES_LANGUAGE 0x409
  68. #ifdef UNICODE
  69. #define VERSION_RES_CHARSET 1200
  70. #else
  71. #define VERSION_RES_CHARSET 1252
  72. #endif
  73. #ifndef VERSION_RES_ACTIVEX
  74. #define VERSION_RES_ACTIVEX "Filter dll\0"
  75. #endif
  76. #ifdef AMOVIE_SELF_REGISTER
  77. #ifndef OLE_SELF_REGISTER
  78. #define OLE_SELF_REGISTER
  79. #endif
  80. #endif
  81. #ifdef OLE_SELF_REGISTER
  82. #ifdef AMOVIE_SELF_REGISTER
  83. #define VERSION_RES_SELFREGISTER "DXM20\0"
  84. #else
  85. #define VERSION_RES_SELFREGISTER "\0"
  86. #endif
  87. #endif
  88. //
  89. // Version resource
  90. //
  91. VS_VERSION_INFO VERSIONINFO
  92. FILEVERSION VERSION_RES_VER_MAJOR, VERSION_RES_VER_MINOR, VER_PRODUCTBUILD, VER_PRODUCTBUILD_QFE
  93. PRODUCTVERSION VERSION_RES_VER_MAJOR, VERSION_RES_VER_MINOR, VER_PRODUCTBUILD, VER_PRODUCTBUILD_QFE
  94. FILEFLAGSMASK VERSION_RES_FLAGSMASK
  95. FILEFLAGS VERSION_RES_FLAGS
  96. FILEOS VERSION_RES_OS
  97. FILETYPE VERSION_RES_TYPE
  98. FILESUBTYPE VERSION_RES_SUBTYPE
  99. BEGIN
  100. BLOCK "StringFileInfo"
  101. BEGIN
  102. BLOCK "040904E4"
  103. BEGIN
  104. VALUE "CompanyName", VERSION_RES_COMPANYNAME
  105. VALUE "FileDescription", VERSION_RES_DESCRIPTION
  106. VALUE "FileVersion", VERSION_RES_VERSION
  107. VALUE "InternalName", VERSION_RES_NAME
  108. VALUE "LegalCopyright", VERSION_RES_COPYRIGHT
  109. VALUE "OriginalFilename", VERSION_RES_NAME
  110. VALUE "ProductName", VERSION_RES_PRODUCTNAME
  111. #ifdef DEBUG
  112. VALUE "ProductVersion", VERSION_RES_VERSION_D
  113. #else
  114. VALUE "ProductVersion", VERSION_RES_VERSION
  115. #endif
  116. VALUE "DirectShow", VERSION_RES_ACTIVEX
  117. #ifdef OLE_SELF_REGISTER
  118. VALUE "OLESelfRegister", VERSION_RES_SELFREGISTER
  119. #endif
  120. END
  121. END
  122. BLOCK "VarFileInfo"
  123. BEGIN
  124. VALUE "Translation", VERSION_RES_LANGUAGE, VERSION_RES_CHARSET
  125. END
  126. END
  127. #endif
  128. // _QUARTZ_RCV_