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.

169 lines
8.1 KiB

  1. /***************************************************************************
  2. *
  3. * CTXVER.H
  4. *
  5. * This module defines the Terminal Server NT build version.
  6. *
  7. * Copyright Microsoft Corporation, 1998
  8. *
  9. *
  10. ****************************************************************************/
  11. #ifndef _INC_CTXVER
  12. #define _INC_CTXVER
  13. /*
  14. * NOTE: The standard MS NT build values VER_PRODUCTBUILD,
  15. * VER_PRODUCTBUILD_STR, and VER_PRODUCTBETA_STR in ntverp.h
  16. * are left alone and the new CITRIX build values are set here.
  17. */
  18. #define VER_CTXPRODUCTBUILD 309
  19. #define VER_CTXPRODUCTBUILD_STR "309"
  20. #define VER_CTXPRODUCTBETA_STR ""
  21. /*--------------------------------------------------------------------------*/
  22. /* */
  23. /* The standard NT file versioning sets up the .rc file in a similar way */
  24. /* to the following: */
  25. /* */
  26. /* #include <winver.h> // or #include <windows.h> */
  27. /* #include <ntverp.h> */
  28. /* */
  29. /* [file-specific #defines, such as...] */
  30. /* */
  31. /* #define VER_FILETYPE VFT_APP */
  32. /* #define VER_FILESUBTYPE VFT2_UNKNOWN */
  33. /* #define VER_FILEDESCRIPTION_STR "WinStation Configuration" */
  34. /* #define VER_INTERNALNAME_STR "WinCfg" */
  35. /* #define VER_ORIGINALFILENAME_STR "WINCFG.EXE" */
  36. /* */
  37. /* If you are building a component with ONLY citrix content, use the */
  38. /* following line: */
  39. /* */
  40. /* #include <citrix\verall.h> */
  41. /* */
  42. /* If you are building a component with SOME Citrix content, use the */
  43. /* following line: */
  44. /* */
  45. /* #include <citrix\versome.h> */
  46. /* */
  47. /* (Obviously, neither of the two lines mentioned above will be included */
  48. /* if there is NO Citrix content) */
  49. /* */
  50. /* #include <common.ver> */
  51. /* */
  52. /* The above version resource layout will produce the following version */
  53. /* contents for the built files: */
  54. /* */
  55. /* All Ctx Some Ctx No Ctx */
  56. /* ------------ ------------ ------------ */
  57. /* File Version Str: ctx ver.bld <original> <original> */
  58. /* File Version #: ctx ver.bld <original> <original> */
  59. /* Copyright: ctx copyright <original> <original> */
  60. /* Company Name: citrix <original> <original> */
  61. /* Product Name: winframe <original> <original> */
  62. /* Product Version Str: ctx ver <original> <original> */
  63. /* Product Version #: ctx ver <original> <original> */
  64. /* Addl. Copyright: --- ctx copyright --- */
  65. /* Addl. Product: --- winframe ver.bld --- */
  66. /* */
  67. /* The following two OEM defines are now defined in SHELL32.DLL's RC file */
  68. /* so that they don't get stuck in every versioned file that Citrix builds */
  69. /* */
  70. /* #define VER_CTXOEMNAME_STR "Citrix Systems, Inc." */
  71. /* #define VER_CTXOEMID_STR "CTX" */
  72. /* */
  73. /*--------------------------------------------------------------------------*/
  74. /* */
  75. /* Define Citrix version stuff (build defines are auto-put above) */
  76. /* */
  77. #define VER_CTXCOPYRIGHT_STR "Copyright \251 1990-1997 Citrix Systems, Inc."
  78. #define VER_CTXCOMPANYNAME_STR "Citrix Systems, Inc."
  79. #define VER_CTXPRODUCTNAME_STR "Citrix WinFrame"
  80. #define VER_CTXPRODUCTVERSION_STR "4.00"
  81. #define VER_CTXPRODUCTVERSION 4,00,VER_CTXPRODUCTBUILD,1
  82. #define VER_CTXFILEVERSION_STR VER_CTXPRODUCTVERSION_STR "." VER_CTXPRODUCTBUILD_STR
  83. #define VER_CTXFILEVERSION VER_CTXPRODUCTVERSION
  84. /* */
  85. /* License level to verify code and license are the same level. This */
  86. /* is stored in a base or upgrade license serial number. This needs to be */
  87. /* inc'd for each release/upgrade where we require a license diskette be */
  88. /* installed so it can't be freely distributed. */
  89. #define VER_LICENSE_CODE 3
  90. /* */
  91. /* */
  92. /*--------------------------------------------------------------------------*/
  93. /* */
  94. /* Override standard MS VER_ defines depending on the Citrix content level: */
  95. /* */
  96. #ifndef VER_CTXCONTENT
  97. #define VER_CTXCONTENT 1 // Default to SOME Citrix content
  98. #define VER_CTXSOMECONTENT 1
  99. #endif
  100. /* */
  101. /* ALL Citrix content: override standard MS defines. */
  102. /* */
  103. #ifdef VER_CTXALLCONTENT
  104. #ifdef VER_FILEVERSION_STR
  105. #undef VER_FILEVERSION_STR
  106. #endif
  107. #define VER_FILEVERSION_STR VER_CTXFILEVERSION_STR
  108. #ifdef VER_FILEVERSION
  109. #undef VER_FILEVERSION
  110. #endif
  111. #define VER_FILEVERSION VER_CTXFILEVERSION
  112. #ifdef VER_LEGALCOPYRIGHT_STR
  113. #undef VER_LEGALCOPYRIGHT_STR
  114. #endif
  115. #define VER_LEGALCOPYRIGHT_STR VER_CTXCOPYRIGHT_STR
  116. #ifdef VER_COMPANYNAME_STR
  117. #undef VER_COMPANYNAME_STR
  118. #endif
  119. #define VER_COMPANYNAME_STR VER_CTXCOMPANYNAME_STR
  120. #ifdef VER_PRODUCTNAME_STR
  121. #undef VER_PRODUCTNAME_STR
  122. #endif
  123. #define VER_PRODUCTNAME_STR VER_CTXPRODUCTNAME_STR
  124. #ifdef VER_PRODUCTVERSION_STR
  125. #undef VER_PRODUCTVERSION_STR
  126. #endif
  127. #define VER_PRODUCTVERSION_STR VER_CTXPRODUCTVERSION_STR
  128. #ifdef VER_PRODUCTVERSION
  129. #undef VER_PRODUCTVERSION
  130. #endif
  131. #define VER_PRODUCTVERSION VER_CTXPRODUCTVERSION
  132. #ifdef VER_PRODUCTBUILD_STR
  133. #undef VER_PRODUCTBUILD_STR
  134. #endif
  135. #define VER_PRODUCTBUILD_STR VER_CTXPRODUCTBUILD_STR
  136. #ifdef VER_PRODUCTBUILD
  137. #undef VER_PRODUCTBUILD
  138. #endif
  139. #define VER_PRODUCTBUILD VER_CTXPRODUCTBUILD
  140. #endif // All Citrix Content
  141. /* */
  142. /* SOME Citrix content. No MS defines are overridden; common.ver will take */
  143. /* care of adding the 'Additional ...' lines. */
  144. /* */
  145. #ifdef VER_CTXSOMECONTENT
  146. #endif // Some Citrix Content
  147. #endif /* !_INC_CTXVER */