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.

149 lines
3.5 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. #undef VER_DEBUG
  44. #ifdef DEBUG
  45. #define VER_DEBUG VS_FF_DEBUG
  46. #else
  47. #define VER_DEBUG 0
  48. #endif
  49. //
  50. // Quartz information
  51. //
  52. // See Quartz.ver for global defines.
  53. // See individual projects for file specific defines.
  54. //
  55. #define VERSION_RES_FLAGSMASK 0x0030003FL
  56. #define VERSION_RES_FLAGS (VER_PRIVATEBUILD|VER_PRERELEASE|VER_DEBUG)
  57. #ifdef WIN32
  58. #define VERSION_RES_OS VOS__WINDOWS32
  59. #else
  60. #define VERSION_RES_OS VOS_DOS_WINDOWS16
  61. #endif
  62. #ifndef VERSION_RES_TYPE
  63. #define VERSION_RES_TYPE VFT_DLL
  64. #endif
  65. #ifndef VERSION_RES_SUBTYPE
  66. #define VERSION_RES_SUBTYPE VFT2_UNKNOWN
  67. #endif
  68. #define VERSION_RES_LANGUAGE 0x409
  69. #ifdef UNICODE
  70. #define VERSION_RES_CHARSET 1200
  71. #else
  72. #define VERSION_RES_CHARSET 1252
  73. #endif
  74. #ifndef VERSION_RES_ACTIVEX
  75. #define VERSION_RES_ACTIVEX "Filter dll\0"
  76. #endif
  77. #ifdef AMOVIE_SELF_REGISTER
  78. #ifndef OLE_SELF_REGISTER
  79. #define OLE_SELF_REGISTER
  80. #endif
  81. #endif
  82. #ifdef OLE_SELF_REGISTER
  83. #ifdef AMOVIE_SELF_REGISTER
  84. #define VERSION_RES_SELFREGISTER "DXM20\0"
  85. #else
  86. #define VERSION_RES_SELFREGISTER "\0"
  87. #endif
  88. #endif
  89. //
  90. // Version resource
  91. //
  92. VS_VERSION_INFO VERSIONINFO
  93. FILEVERSION VERSION_RES_VER_MAJOR, VERSION_RES_VER_MINOR, VER_PRODUCTBUILD, VER_PRODUCTBUILD_QFE
  94. PRODUCTVERSION VERSION_RES_VER_MAJOR, VERSION_RES_VER_MINOR, VER_PRODUCTBUILD, VER_PRODUCTBUILD_QFE
  95. FILEFLAGSMASK VERSION_RES_FLAGSMASK
  96. FILEFLAGS VERSION_RES_FLAGS
  97. FILEOS VERSION_RES_OS
  98. FILETYPE VERSION_RES_TYPE
  99. FILESUBTYPE VERSION_RES_SUBTYPE
  100. BEGIN
  101. BLOCK "StringFileInfo"
  102. BEGIN
  103. BLOCK "040904E4"
  104. BEGIN
  105. VALUE "CompanyName", VERSION_RES_COMPANYNAME
  106. VALUE "FileDescription", VERSION_RES_DESCRIPTION
  107. VALUE "FileVersion", VERSION_RES_VERSION
  108. VALUE "InternalName", VERSION_RES_NAME
  109. VALUE "LegalCopyright", VERSION_RES_COPYRIGHT
  110. VALUE "OriginalFilename", VERSION_RES_NAME
  111. VALUE "ProductName", VERSION_RES_PRODUCTNAME
  112. #ifdef DEBUG
  113. VALUE "ProductVersion", VERSION_RES_VERSION_D
  114. #else
  115. VALUE "ProductVersion", VERSION_RES_VERSION
  116. #endif
  117. VALUE "DirectShow", VERSION_RES_ACTIVEX
  118. #ifdef OLE_SELF_REGISTER
  119. VALUE "OLESelfRegister", VERSION_RES_SELFREGISTER
  120. #endif
  121. END
  122. END
  123. BLOCK "VarFileInfo"
  124. BEGIN
  125. VALUE "Translation", VERSION_RES_LANGUAGE, VERSION_RES_CHARSET
  126. END
  127. END
  128. #endif
  129. // _QUARTZ_RCV_