BHCommon.Ver
上传用户:dzyhzl
上传日期:2019-04-29
资源大小:56270k
文件大小:4k
源码类别:

模拟服务器

开发平台:

C/C++

  1. /*---------------------------------------------------------------*/
  2. /* STOLEN from NT build                                          */
  3. /*                                                               */
  4. /* The following section actually creates the version structure. */
  5. /* They are ignored if we are not being invoked by RC.           */
  6. /*                                                               */
  7. /* ntverp.H must be included before including this file          */
  8. /*                                                               */
  9. /* If VER_LEGALCOPYRIGHT_STR is not defined, it will be          */
  10. /* constructed using VER_LEGALCOPYRIGHT_YEARS, so at least one   */
  11. /* these macros must be defined before including this file.      */
  12. /*                                                               */
  13. /* VER_FILETYPE, VER_FILESUBTYPE, VER_FILEDESCRIPTION_STR, and   */
  14. /* VER_INTERNALNAME_STR must be defined before including this    */
  15. /* file.                                                         */
  16. /*                                                               */
  17. /* If VER_FILEVERSION is not defined, VER_PRODUCTVERSION will be */
  18. /* used instead.  If VER_FILEVERSION_STR is not defined,         */
  19. /* VER_PRODUCTVERSION_STR will be used instead.                  */
  20. /*                                                               */
  21. /* If VER_ORIGINALFILENAME_STR is not defined, it is set to      */
  22. /* the value in VER_INTERNALNAME_STR.                            */
  23. /*                                                               */
  24. /* If INTL is defined, then this is assumed to be an             */
  25. /* an international build; two string blocks will be created,    */
  26. /* (since all version resources must have English), and the      */
  27. /* second one can be localized                                   */
  28. /*                                                               */
  29. /*---------------------------------------------------------------*/
  30. #ifdef RC_INVOKED
  31. #include "bhver.h"
  32. #ifndef VER_LEGALCOPYRIGHT_YEARS
  33. #define VER_LEGALCOPYRIGHT_YEARS    "1981-1999"
  34. #endif
  35. #ifndef VER_LEGALCOPYRIGHT_STR
  36. #define VER_LEGALCOPYRIGHT_STR "Copyright (c) Microsoft Corp. " VER_LEGALCOPYRIGHT_YEARS
  37. #endif
  38. #ifndef VER_PRODUCTNAME_STR
  39. #define VER_PRODUCTNAME_STR "Microsoft256 Network Monitor"
  40. #endif
  41. #ifndef VER_PRODUCTVERSION
  42. #define VER_PRODUCTVERSION VER_BUILDMAJOR,VER_BUILDMINOR,VER_BUILDNUMBER,001
  43. #endif
  44. #ifndef VER_FILEVERSION
  45. #define VER_FILEVERSION VER_PRODUCTVERSION
  46. #endif
  47. #ifndef VER_PRODUCTVERSION_STR
  48. #define VER_PRODUCTVERSION_STR VER_BUILDMM_STR "." VER_BUILDNUMBER_STR
  49. #endif
  50. #ifndef VER_FILEVERSION_STR
  51. #define VER_FILEVERSION_STR BH_VER ", Build " VER_BUILDMM_STR "." VER_BUILDNUMBER_STR
  52. #endif
  53. #ifndef VER_ORIGINALFILENAME_STR
  54. #define VER_ORIGINALFILENAME_STR VER_INTERNALNAME_STR
  55. #endif
  56. #ifndef VER_COMPANYNAME_STR
  57. #define VER_COMPANYNAME_STR "Microsoft Corporation"
  58. #endif
  59. VS_VERSION_INFO VERSIONINFO
  60. FILEVERSION    VER_FILEVERSION
  61. PRODUCTVERSION VER_PRODUCTVERSION
  62. FILEFLAGSMASK  0x03fL
  63. #ifdef _DEBUG
  64.  FILEFLAGS VS_FF_DEBUG
  65. #else
  66.  FILEFLAGS 0x0L
  67. #endif
  68. FILEOS VOS_DOS_WINDOWS32
  69. FILETYPE       VER_FILETYPE
  70. FILESUBTYPE    VER_FILESUBTYPE
  71. BEGIN
  72.     BLOCK "StringFileInfo"
  73.     BEGIN
  74.         BLOCK "040904B0"   /* LANG_ENGLISH/SUBLANG_ENGLISH_US, Unicode CP */
  75.         BEGIN
  76.             VALUE "CompanyName",     VER_COMPANYNAME_STR
  77.             VALUE "FileDescription", VER_FILEDESCRIPTION_STR
  78.             VALUE "FileVersion",     VER_FILEVERSION_STR
  79.             VALUE "InternalName",    VER_INTERNALNAME_STR
  80.             VALUE "LegalCopyright",  VER_LEGALCOPYRIGHT_STR
  81.             VALUE "OriginalFilename",VER_ORIGINALFILENAME_STR
  82.             VALUE "ProductName",     VER_PRODUCTNAME_STR
  83.             VALUE "ProductVersion",  VER_PRODUCTVERSION_STR
  84.         END
  85.     END
  86.     BLOCK "VarFileInfo"
  87.     BEGIN
  88.         VALUE "Translation", 0x0409, 0x04B0
  89.     END
  90. END
  91. #endif