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.

150 lines
3.7 KiB

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