home *** CD-ROM | disk | FTP | other *** search
/ Visual Basic Game Programming for Teens / VBGPFT.cdr / DirectX8 / dx8a_sdk.exe / samples / multimedia / directshow / baseclasses / activex.rcv next >
Encoding:
Text File  |  2000-10-02  |  3.4 KB  |  143 lines

  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.  
  15.  
  16. #ifndef _ACTIVEX_RCV_
  17. #define _ACTIVEX_RCV_
  18.  
  19. #ifdef WIN32
  20. #include <winver.h>
  21. #else
  22. #include <ver.h>
  23. #endif
  24.  
  25. #ifndef _ACTIVEX_VER_
  26. #include <activex.ver>
  27. #endif
  28.  
  29. //
  30. // Version flags.
  31. //
  32. // OFFICIAL and FINAL should be defined when appropriate.
  33. //
  34.  
  35. #ifndef OFFICIAL
  36. #define VER_PRIVATEBUILD      VS_FF_PRIVATEBUILD
  37. #else
  38. #define VER_PRIVATEBUILD      0
  39. #endif
  40.  
  41. #ifndef FINAL
  42. #define VER_PRERELEASE        VS_FF_PRERELEASE
  43. #else
  44. #define VER_PRERELEASE        0
  45. #endif
  46.  
  47. #ifdef DEBUG
  48. #define VER_DEBUG             VS_FF_DEBUG
  49. #else
  50. #define VER_DEBUG             0
  51. #endif
  52.  
  53. //
  54. // Version definitions
  55. //
  56.  
  57. #define VERSION_RES_FLAGSMASK   0x0030003FL
  58. #define VERSION_RES_FLAGS       (VER_PRIVATEBUILD|VER_PRERELEASE|VER_DEBUG)
  59.  
  60. #ifdef WIN32
  61. #define VERSION_RES_OS          VOS_NT_WINDOWS32
  62. #else
  63. #define VERSION_RES_OS          VOS_DOS_WINDOWS16
  64. #endif
  65.  
  66. #ifndef VERSION_RES_TYPE
  67. #define VERSION_RES_TYPE        VFT_DLL
  68. #endif
  69.  
  70. #ifndef VERSION_RES_SUBTYPE
  71. #define VERSION_RES_SUBTYPE     VFT2_UNKNOWN
  72. #endif
  73.  
  74. #define VERSION_RES_LANGUAGE    0x409
  75.  
  76. #ifdef UNICODE
  77. #define VERSION_RES_CHARSET     1200
  78. #else
  79. #define VERSION_RES_CHARSET     1252
  80. #endif
  81.  
  82. #ifndef VERSION_RES_ACTIVEX
  83. #define VERSION_RES_ACTIVEX     "Filter dll\0"
  84. #endif
  85.  
  86. #ifdef  AMOVIE_SELF_REGISTER
  87. #ifndef OLE_SELF_REGISTER
  88. #define OLE_SELF_REGISTER
  89. #endif
  90. #endif
  91.  
  92. #ifdef  OLE_SELF_REGISTER
  93. #ifdef  AMOVIE_SELF_REGISTER
  94. #define VERSION_RES_SELFREGISTER "AM20\0"
  95. #else
  96. #define VERSION_RES_SELFREGISTER "\0"
  97. #endif
  98. #endif
  99.  
  100. //
  101. // Version resource
  102. //
  103.  
  104. VS_VERSION_INFO VERSIONINFO
  105. FILEVERSION     VERSION_RES_MAJOR_VER, VERSION_RES_MINOR_VER, 0, VERSION_RES_BUILD
  106. PRODUCTVERSION  VERSION_RES_MAJOR_VER, VERSION_RES_MINOR_VER, 0, VERSION_RES_BUILD
  107. FILEFLAGSMASK   VERSION_RES_FLAGSMASK
  108. FILEFLAGS       VERSION_RES_FLAGS
  109. FILEOS          VERSION_RES_OS
  110. FILETYPE        VERSION_RES_TYPE
  111. FILESUBTYPE     VERSION_RES_SUBTYPE
  112. BEGIN
  113.   BLOCK "StringFileInfo"
  114.   BEGIN
  115.     BLOCK "040904E4"
  116.     BEGIN
  117.       VALUE "CompanyName",        VERSION_RES_COMPANY_NAME
  118.       VALUE "FileDescription",    VERSION_RES_BIN_DESCRIPTION
  119.       VALUE "FileVersion",        VERSION_RES_STRING
  120.       VALUE "InternalName",       VERSION_RES_BIN_NAME
  121.       VALUE "LegalCopyright",     VERSION_RES_COPYRIGHT
  122.       VALUE "OriginalFilename",   VERSION_RES_BIN_NAME
  123.       VALUE "ProductName",        VERSION_RES_PRODUCT_NAME
  124. #ifdef DEBUG
  125.       VALUE "ProductVersion",     VERSION_RES_STRING_D
  126. #else
  127.       VALUE "ProductVersion",     VERSION_RES_STRING
  128. #endif
  129.       VALUE "ActiveMovie",        VERSION_RES_ACTIVEX
  130. #ifdef OLE_SELF_REGISTER
  131.       VALUE "OLESelfRegister",    VERSION_RES_SELFREGISTER
  132. #endif
  133.     END
  134.   END
  135.   BLOCK "VarFileInfo"
  136.   BEGIN
  137.     VALUE "Translation", VERSION_RES_LANGUAGE, VERSION_RES_CHARSET
  138.   END
  139. END
  140.  
  141. #endif
  142. // _ACTIVEX_RCV_
  143.