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.

160 lines
3.8 KiB

  1. /**
  2. * Version strings for APP.DLL.
  3. *
  4. * Copyright (c) 2000 Microsoft Corporation
  5. */
  6. // Standard version includes
  7. #pragma once
  8. #include <winver.h>
  9. #include <ntverp.h>
  10. //
  11. // APP Version
  12. //
  13. // Version numbers can be assigned in newbuild.cmd
  14. //
  15. #ifndef APP_VER_MAJORVERSION
  16. #define APP_VER_MAJORVERSION 1
  17. #endif
  18. #ifndef APP_VER_MINORVERSION
  19. #define APP_VER_MINORVERSION 0
  20. #endif
  21. #ifndef APP_VER_PRODUCTBUILD
  22. #define APP_VER_PRODUCTBUILD 0
  23. #endif
  24. #ifndef APP_VER_PRODUCTBUILD_QFE
  25. #define APP_VER_PRODUCTBUILD_QFE 0
  26. #endif
  27. //
  28. // Allow a component to override values in individual rc files
  29. // by checking if these are already defined
  30. //
  31. #ifndef APP_VER_PRODUCTNAME_STR
  32. #define APP_VER_PRODUCTNAME_STR "Microsoft (R) Application Protocol"
  33. #endif
  34. #ifndef APP_VER_INTERNALNAME_STR
  35. #define APP_VER_INTERNALNAME_STR "APP"
  36. #endif
  37. // the following two are defined in individual RC files:
  38. // APP_VER_ORIGINALFILENAME_STR
  39. // APP_VER_FILEDESCRIPTION_STR
  40. //
  41. // Don't edit the remainder of this file to change version values.
  42. // Edit above instead.
  43. //
  44. #if APPBLDTYPE_FREE
  45. #define APP_BLDTYPE_STR "Free"
  46. #elif APPBLDTYPE_ICECAP
  47. #define APP_BLDTYPE_STR "Icecap"
  48. #elif APPBLDTYPE_RETAIL
  49. #define APP_BLDTYPE_STR "Retail"
  50. #else //APPBLDTYPE_DEBUG
  51. #define APP_BLDTYPE_STR "Debug"
  52. #endif
  53. //
  54. // undefine these values as some are defined in sdk\inc\ntverp.h
  55. //
  56. #ifdef VER_MAJORVERSION
  57. #undef VER_MAJORVERSION
  58. #endif
  59. #ifdef VER_MINORVERSION
  60. #undef VER_MINORVERSION
  61. #endif
  62. #ifdef VER_PRODUCTBUILD
  63. #undef VER_PRODUCTBUILD
  64. #endif
  65. #ifdef VER_PRODUCTBUILD_QFE
  66. #undef VER_PRODUCTBUILD_QFE
  67. #endif
  68. #ifdef VER_PRODUCTNAME_STR
  69. #undef VER_PRODUCTNAME_STR
  70. #endif
  71. #ifdef VER_INTERNALNAME_STR
  72. #undef VER_INTERNALNAME_STR
  73. #endif
  74. #ifdef VER_ORIGINALFILENAME_STR
  75. #undef VER_ORIGINALFILENAME_STR
  76. #endif
  77. #ifdef VER_FILEDESCRIPTION_STR
  78. #undef VER_FILEDESCRIPTION_STR
  79. #endif
  80. #ifdef VER_PRODUCTVERSION_STR
  81. #undef VER_PRODUCTVERSION_STR
  82. #endif
  83. #ifdef VER_PRODUCTVERSION
  84. #undef VER_PRODUCTVERSION
  85. #endif
  86. #ifdef VER_FILEVERSION_STR
  87. #undef VER_FILEVERSION_STR
  88. #endif
  89. #ifdef VER_FILEVERSION
  90. #undef VER_FILEVERSION
  91. #endif
  92. #ifdef VER_FILETYPE
  93. #undef VER_FILETYPE
  94. #endif
  95. #ifdef VER_FILESUBTYPE
  96. #undef VER_FILESUBTYPE
  97. #endif
  98. #define VER_MAJORVERSION APP_VER_MAJORVERSION
  99. #define VER_MINORVERSION APP_VER_MINORVERSION
  100. #define VER_PRODUCTBUILD APP_VER_PRODUCTBUILD
  101. #define VER_PRODUCTBUILD_QFE APP_VER_PRODUCTBUILD_QFE
  102. #define VER_PRODUCTNAME_STR APP_VER_PRODUCTNAME_STR
  103. #define VER_INTERNALNAME_STR APP_VER_INTERNALNAME_STR
  104. #define VER_ORIGINALFILENAME_STR APP_VER_ORIGINALFILENAME_STR
  105. #define VER_FILEDESCRIPTION_STR APP_VER_FILEDESCRIPTION_STR
  106. #define CONCAT5HELPER(a, b, c, d, e) #a "." #b "." #c "." #d " " e
  107. #define CONCAT5(a, b, c, d, e) CONCAT5HELPER(a, b, c, d, e)
  108. #define CONCAT5HELPER_L(a, b, c, d, e) L ## #a L"." L ## #b L"." L ## #c L"." L ## #d L" " L ## e
  109. #define CONCAT5_L(a, b, c, d, e) CONCAT5HELPER_L(a, b, c, d, e)
  110. #define VER_PRODUCTVERSION_STR CONCAT5(VER_MAJORVERSION, VER_MINORVERSION, VER_PRODUCTBUILD, VER_PRODUCTBUILD_QFE, APP_BLDTYPE_STR)
  111. #define VER_PRODUCTVERSION_STR_L CONCAT5_L(VER_MAJORVERSION, VER_MINORVERSION, VER_PRODUCTBUILD, VER_PRODUCTBUILD_QFE, APP_BLDTYPE_STR)
  112. #define VER_PRODUCTVERSION VER_MAJORVERSION,VER_MINORVERSION,VER_PRODUCTBUILD,VER_PRODUCTBUILD_QFE
  113. #define VER_FILEVERSION_STR CONCAT5(VER_MAJORVERSION, VER_MINORVERSION, VER_PRODUCTBUILD, VER_PRODUCTBUILD_QFE, APP_BLDTYPE_STR)
  114. #define VER_FILEVERSION_STR_L CONCAT5_L(VER_MAJORVERSION, VER_MINORVERSION, VER_PRODUCTBUILD, VER_PRODUCTBUILD_QFE, APP_BLDTYPE_STR)
  115. #define VER_FILEVERSION VER_MAJORVERSION,VER_MINORVERSION,VER_PRODUCTBUILD,VER_PRODUCTBUILD_QFE
  116. #define VER_FILETYPE VFT_DLL
  117. #define VER_FILESUBTYPE VFT2_UNKNOWN
  118. // Standard NT build defines
  119. #include <common.ver>