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.

86 lines
3.0 KiB

  1. /*---------------------------------------------------------------*/
  2. /* */
  3. /* The following section actually creates the version structure. */
  4. /* They are ignored if we are not being invoked by RC. */
  5. /* */
  6. /* VERSION.H must be included before including this file */
  7. /* */
  8. /* If VER_LEGALCOPYRIGHT_STR is not defined, it will be */
  9. /* constructed using VER_LEGALCOPYRIGHT_YEARS, so at least one */
  10. /* these macros must be defined before including this file. */
  11. /* */
  12. /* VER_FILETYPE, VER_FILESUBTYPE, VER_FILEDESCRIPTION_STR, and */
  13. /* VER_INTERNALNAME_STR must be defined before including this */
  14. /* file. */
  15. /* */
  16. /* If VER_FILEVERSION is not defined, VER_PRODUCTVERSION will be */
  17. /* used instead. If VER_FILEVERSION_STR is not defined, */
  18. /* VER_PRODUCTVERSION_STR will be used instead. */
  19. /* */
  20. /* If LANG is defined, then this is assumed to be an */
  21. /* an international build; two string blocks will be created, */
  22. /* (since all version resources must have English), and the */
  23. /* second one can be localized */
  24. /* */
  25. /*---------------------------------------------------------------*/
  26. #ifdef RC_INVOKED
  27. #ifndef VER_LEGALCOPYRIGHT_STR
  28. #define VER_LEGALCOPYRIGHT_STR "Copyright \251 Microsoft Corp. ", VER_LEGALCOPYRIGHT_YEARS, "\0"
  29. #endif
  30. #ifndef VER_FILEVERSION
  31. #define VER_FILEVERSION VER_PRODUCTVERSION
  32. #endif
  33. #ifndef VER_FILEVERSION_STR
  34. #define VER_FILEVERSION_STR VER_PRODUCTVERSION_STR
  35. #endif
  36. VS_VERSION_INFO VERSIONINFO
  37. FILEVERSION VER_FILEVERSION
  38. PRODUCTVERSION VER_PRODUCTVERSION
  39. FILEFLAGSMASK VER_FILEFLAGSMASK
  40. FILEFLAGS VER_FILEFLAGS
  41. FILEOS VER_FILEOS
  42. FILETYPE VER_FILETYPE
  43. FILESUBTYPE VER_FILESUBTYPE
  44. BEGIN
  45. BLOCK "StringFileInfo"
  46. BEGIN
  47. BLOCK "040904E4"
  48. BEGIN
  49. VALUE "CompanyName", VER_COMPANYNAME_STR
  50. VALUE "FileDescription", VER_FILEDESCRIPTION_STR
  51. VALUE "FileVersion", VER_FILEVERSION_STR
  52. VALUE "InternalName", VER_INTERNALNAME_STR
  53. VALUE "LegalCopyright", VER_LEGALCOPYRIGHT_STR
  54. VALUE "ProductName", VER_PRODUCTNAME_STR
  55. VALUE "ProductVersion", VER_PRODUCTVERSION_STR
  56. END
  57. #ifdef LANG
  58. BLOCK "040904E4"
  59. BEGIN
  60. VALUE "CompanyName", VER_COMPANYNAME_STR
  61. VALUE "FileDescription", VER_FILEDESCRIPTION_STR
  62. VALUE "FileVersion", VER_FILEVERSION_STR
  63. VALUE "InternalName", VER_INTERNALNAME_STR
  64. VALUE "LegalCopyright", VER_LEGALCOPYRIGHT_STR
  65. VALUE "ProductName", VER_PRODUCTNAME_STR
  66. VALUE "ProductVersion", VER_PRODUCTVERSION_STR
  67. END
  68. #endif
  69. END
  70. BLOCK "VarFileInfo"
  71. BEGIN
  72. /* the following line should be extended for localized versions */
  73. VALUE "Translation", 0x0409, 0x04E4
  74. END
  75. END
  76. #endif