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.

123 lines
3.4 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 - 1994 Microsoft Corporation. All Rights Reserved.
  9. //
  10. //--------------------------------------------------------------------------;
  11. //
  12. // acmapp.rcv
  13. //
  14. // Description:
  15. // This file defines the version resource used for the application.
  16. // Version resources are usually misunderstood--for good reason because
  17. // they are too complicated. But since we're stuck with them, it's best
  18. // if you get the information right.
  19. //
  20. // NOTE: All strings MUST have an explicit \0 for termination!
  21. //
  22. // For a complete description of the Version Resource, search the
  23. // Microsoft Developer's Network (MSDN) CD-ROM for 'version resource'.
  24. //
  25. //==========================================================================;
  26. #ifdef WIN32
  27. #include <winver.h>
  28. #else
  29. #include <ver.h>
  30. #endif
  31. //
  32. // version flags. 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. #ifndef FINAL
  41. #define VER_PRERELEASE VS_FF_PRERELEASE
  42. #else
  43. #define VER_PRERELEASE 0
  44. #endif
  45. #ifdef DEBUG
  46. #define VER_DEBUG VS_FF_DEBUG
  47. #else
  48. #define VER_DEBUG 0
  49. #endif
  50. //--------------------------------------------------------------------------;
  51. //
  52. //
  53. //
  54. //
  55. //
  56. //--------------------------------------------------------------------------;
  57. #define APP_VERSION_FLAGSMASK 0x0030003FL
  58. #define APP_VERSION_FLAGS (VER_PRIVATEBUILD|VER_PRERELEASE|VER_DEBUG)
  59. #ifdef WIN32
  60. #define APP_VERSION_OS VOS_NT_WINDOWS32
  61. #else
  62. #define APP_VERSION_OS VOS_DOS_WINDOWS16
  63. #endif
  64. #define APP_VERSION_TYPE VFT_APP
  65. #define APP_VERSION_SUBTYPE VFT2_UNKNOWN
  66. #define APP_VERSION_LANGUAGE 0x409
  67. #ifdef UNICODE
  68. #define APP_VERSION_CHARSET 1200
  69. #else
  70. #define APP_VERSION_CHARSET 1252
  71. #endif
  72. //--------------------------------------------------------------------------;
  73. //
  74. //
  75. //
  76. //
  77. //
  78. //--------------------------------------------------------------------------;
  79. VS_VERSION_INFO VERSIONINFO
  80. FILEVERSION APP_VERSION_MAJOR, APP_VERSION_MINOR, 0, APP_VERSION_BUILD
  81. PRODUCTVERSION APP_VERSION_MAJOR, APP_VERSION_MINOR, 0, APP_VERSION_BUILD
  82. FILEFLAGSMASK APP_VERSION_FLAGSMASK
  83. FILEFLAGS APP_VERSION_FLAGS
  84. FILEOS APP_VERSION_OS
  85. FILETYPE APP_VERSION_TYPE
  86. FILESUBTYPE APP_VERSION_SUBTYPE
  87. BEGIN
  88. BLOCK "StringFileInfo"
  89. BEGIN
  90. BLOCK "040904E4"
  91. BEGIN
  92. VALUE "CompanyName", APP_VERSION_COMPANYNAME_RC
  93. VALUE "FileDescription", APP_VERSION_DESCRIPTION_RC
  94. VALUE "FileVersion", APP_VERSION_STRING_RC
  95. VALUE "InternalName", APP_VERSION_NAME_RC
  96. VALUE "LegalCopyright", APP_VERSION_COPYRIGHT_RC
  97. VALUE "OriginalFilename", APP_VERSION_NAME_RC
  98. VALUE "ProductName", APP_VERSION_PRODUCTNAME_RC
  99. VALUE "ProductVersion", APP_VERSION_STRING_RC
  100. END
  101. END
  102. BLOCK "VarFileInfo"
  103. BEGIN
  104. VALUE "Translation", APP_VERSION_LANGUAGE, APP_VERSION_CHARSET
  105. END
  106. END