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.

142 lines
3.3 KiB

  1. //------------------------------------------------------------------------------
  2. // File: Activex.rcv
  3. //
  4. // Desc: DirectShow base classes - this file defines the version resource
  5. // used for the application.
  6. //
  7. // NOTE: All strings MUST have an explicit \0 for termination!
  8. //
  9. // For a complete description of the Version Resource, search the
  10. // Microsoft Developer's Network (MSDN) CD-ROM for 'version resource'..
  11. //
  12. // Copyright (c) 1992 - 2000, Microsoft Corporation. All rights reserved.
  13. //------------------------------------------------------------------------------
  14. #ifndef _ACTIVEX_RCV_
  15. #define _ACTIVEX_RCV_
  16. #ifdef WIN32
  17. #include <winver.h>
  18. #else
  19. #include <ver.h>
  20. #endif
  21. #ifndef _ACTIVEX_VER_
  22. #include <activex.ver>
  23. #endif
  24. //
  25. // Version flags.
  26. //
  27. // OFFICIAL and FINAL should be defined when appropriate.
  28. //
  29. #ifndef OFFICIAL
  30. #define VER_PRIVATEBUILD VS_FF_PRIVATEBUILD
  31. #else
  32. #define VER_PRIVATEBUILD 0
  33. #endif
  34. #ifndef FINAL
  35. #define VER_PRERELEASE VS_FF_PRERELEASE
  36. #else
  37. #define VER_PRERELEASE 0
  38. #endif
  39. #ifdef DEBUG
  40. #define VER_DEBUG VS_FF_DEBUG
  41. #else
  42. #define VER_DEBUG 0
  43. #endif
  44. //
  45. // Version definitions
  46. //
  47. #define VERSION_RES_FLAGSMASK 0x0030003FL
  48. #define VERSION_RES_FLAGS (VER_PRIVATEBUILD|VER_PRERELEASE|VER_DEBUG)
  49. #ifdef WIN32
  50. #define VERSION_RES_OS VOS_NT_WINDOWS32
  51. #else
  52. #define VERSION_RES_OS VOS_DOS_WINDOWS16
  53. #endif
  54. #ifndef VERSION_RES_TYPE
  55. #define VERSION_RES_TYPE VFT_DLL
  56. #endif
  57. #ifndef VERSION_RES_SUBTYPE
  58. #define VERSION_RES_SUBTYPE VFT2_UNKNOWN
  59. #endif
  60. #define VERSION_RES_LANGUAGE 0x409
  61. #ifdef UNICODE
  62. #define VERSION_RES_CHARSET 1200
  63. #else
  64. #define VERSION_RES_CHARSET 1252
  65. #endif
  66. #ifndef VERSION_RES_ACTIVEX
  67. #define VERSION_RES_ACTIVEX "Filter dll\0"
  68. #endif
  69. #ifdef AMOVIE_SELF_REGISTER
  70. #ifndef OLE_SELF_REGISTER
  71. #define OLE_SELF_REGISTER
  72. #endif
  73. #endif
  74. #ifdef OLE_SELF_REGISTER
  75. #ifdef AMOVIE_SELF_REGISTER
  76. #define VERSION_RES_SELFREGISTER "AM20\0"
  77. #else
  78. #define VERSION_RES_SELFREGISTER "\0"
  79. #endif
  80. #endif
  81. //
  82. // Version resource
  83. //
  84. VS_VERSION_INFO VERSIONINFO
  85. FILEVERSION VERSION_RES_MAJOR_VER, VERSION_RES_MINOR_VER, 0, VERSION_RES_BUILD
  86. PRODUCTVERSION VERSION_RES_MAJOR_VER, VERSION_RES_MINOR_VER, 0, VERSION_RES_BUILD
  87. FILEFLAGSMASK VERSION_RES_FLAGSMASK
  88. FILEFLAGS VERSION_RES_FLAGS
  89. FILEOS VERSION_RES_OS
  90. FILETYPE VERSION_RES_TYPE
  91. FILESUBTYPE VERSION_RES_SUBTYPE
  92. BEGIN
  93. BLOCK "StringFileInfo"
  94. BEGIN
  95. BLOCK "040904E4"
  96. BEGIN
  97. VALUE "CompanyName", VERSION_RES_COMPANY_NAME
  98. VALUE "FileDescription", VERSION_RES_BIN_DESCRIPTION
  99. VALUE "FileVersion", VERSION_RES_STRING
  100. VALUE "InternalName", VERSION_RES_BIN_NAME
  101. VALUE "LegalCopyright", VERSION_RES_COPYRIGHT
  102. VALUE "OriginalFilename", VERSION_RES_BIN_NAME
  103. VALUE "ProductName", VERSION_RES_PRODUCT_NAME
  104. #ifdef DEBUG
  105. VALUE "ProductVersion", VERSION_RES_STRING_D
  106. #else
  107. VALUE "ProductVersion", VERSION_RES_STRING
  108. #endif
  109. VALUE "ActiveMovie", VERSION_RES_ACTIVEX
  110. #ifdef OLE_SELF_REGISTER
  111. VALUE "OLESelfRegister", VERSION_RES_SELFREGISTER
  112. #endif
  113. END
  114. END
  115. BLOCK "VarFileInfo"
  116. BEGIN
  117. VALUE "Translation", VERSION_RES_LANGUAGE, VERSION_RES_CHARSET
  118. END
  119. END
  120. #endif
  121. // _ACTIVEX_RCV_