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.

101 lines
3.7 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. */
  10. /* */
  11. /* VER_FILETYPE, VER_FILESUBTYPE, VER_FILEDESCRIPTION_STR, and */
  12. /* VER_INTERNALNAME_STR must be defined before including this */
  13. /* file. */
  14. /* */
  15. /* If VER_FILEVERSION is not defined, VER_PRODUCTVERSION will be */
  16. /* used instead. If VER_FILEVERSION_STR is not defined, */
  17. /* VER_PRODUCTVERSION_STR will be used instead. */
  18. /* */
  19. /* If VER_ORIGINALFILENAME_STR is not defined, it is set to */
  20. /* the NULL string. */
  21. /* */
  22. /* If INTL is defined, then this is assumed to be an */
  23. /* an international build; two string blocks will be created, */
  24. /* (since all version resources must have English), and the */
  25. /* second one can be localized */
  26. /* */
  27. /*---------------------------------------------------------------*/
  28. #ifdef RC_INVOKED
  29. #ifndef VER_LEGALCOPYRIGHT_YEARS
  30. #define VER_LEGALCOPYRIGHT_YEARS "1981-1996"
  31. #endif
  32. #ifndef VER_LEGALCOPYRIGHT_STR
  33. #define VER_LEGALCOPYRIGHT_STR "Copyright \251 Microsoft Corp. ", VER_LEGALCOPYRIGHT_YEARS, "\0"
  34. #endif
  35. #ifndef VER_FILEVERSION
  36. #define VER_FILEVERSION VER_PRODUCTVERSION
  37. #endif
  38. #ifndef VER_FILEVERSION_STR
  39. #define VER_FILEVERSION_STR VER_PRODUCTVERSION_STR
  40. #endif
  41. #ifndef VER_ORIGINALFILENAME_STR
  42. #define VER_ORIGINALFILENAME_STR "\0"
  43. #endif
  44. #define VER_WOWVERSION_STR "4.0"
  45. VS_VERSION_INFO VERSIONINFO
  46. FILEVERSION VER_FILEVERSION
  47. PRODUCTVERSION VER_PRODUCTVERSION
  48. FILEFLAGSMASK VER_FILEFLAGSMASK
  49. FILEFLAGS VER_FILEFLAGS
  50. FILEOS VER_FILEOS
  51. FILETYPE VER_FILETYPE
  52. FILESUBTYPE VER_FILESUBTYPE
  53. BEGIN
  54. BLOCK "StringFileInfo"
  55. BEGIN
  56. BLOCK "040904E4"
  57. BEGIN
  58. VALUE "CompanyName", VER_COMPANYNAME_STR, "\0"
  59. VALUE "FileDescription", VER_FILEDESCRIPTION_STR, "\0"
  60. VALUE "FileVersion", VER_FILEVERSION_STR, "\0"
  61. VALUE "InternalName", VER_INTERNALNAME_STR, "\0"
  62. VALUE "LegalCopyright", VER_LEGALCOPYRIGHT_STR, "\0"
  63. VALUE "OriginalFilename",VER_ORIGINALFILENAME_STR, "\0"
  64. VALUE "ProductName", VER_PRODUCTNAME_STR, "\0"
  65. VALUE "ProductVersion", VER_PRODUCTVERSION_STR, "\0"
  66. VALUE "WOW Version", VER_WOWVERSION_STR, "\0"
  67. END
  68. #ifdef INTL
  69. BLOCK "040904E4"
  70. BEGIN
  71. VALUE "CompanyName", VER_COMPANYNAME_STR, "\0"
  72. VALUE "FileDescription", VER_FILEDESCRIPTION_STR, "\0"
  73. VALUE "FileVersion", VER_FILEVERSION_STR, "\0"
  74. VALUE "InternalName", VER_INTERNALNAME_STR, "\0"
  75. VALUE "LegalCopyright", VER_LEGALCOPYRIGHT_STR, "\0"
  76. VALUE "OriginalFilename",VER_ORIGINALFILENAME_STR, "\0"
  77. VALUE "ProductName", VER_PRODUCTNAME_STR, "\0"
  78. VALUE "ProductVersion", VER_PRODUCTVERSION_STR, "\0"
  79. VALUE "WOW Version", VER_WOWVERSION_STR, "\0"
  80. END
  81. #endif
  82. END
  83. BLOCK "VarFileInfo"
  84. BEGIN
  85. /* the following line should be extended for localized versions */
  86. VALUE "Translation", 0x0409, 0x04E4
  87. END
  88. END
  89. #endif