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.

219 lines
7.3 KiB

  1. /* File: D:\WACKER\tdll\features.h (Created: 24-Aug-1994)
  2. *
  3. * Copyright 1994, 1998 by Hilgraeve Inc. -- Monroe, MI
  4. * All rights reserved
  5. *
  6. * $Revision: 21 $
  7. * $Date: 1/29/02 2:30p $
  8. */
  9. /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
  10. * R E A D M E
  11. *
  12. * This file is a replacement for the INC.H file that was used in HAWIN
  13. * and HA/5. It controls optional features that may or may not be built
  14. * into this product. This file CANNOT have anything except defines in
  15. * it. It is for control and configuration only. Violate this rule at
  16. * your peril. (Please ?)
  17. *
  18. *=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/
  19. /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
  20. * R E A D M E
  21. *
  22. * This file has been organized into sections based on language. To find
  23. * which features are enabled search for the language you are building.
  24. *
  25. * The following section contains descriptions of the settings currently
  26. * available for each language.
  27. *
  28. * The end of the file contains a series of test to verify that required
  29. * settings have been set.
  30. *
  31. *=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/
  32. #if !defined(FEATURES_H_INCLUDED)
  33. #define FEATURES_H_INCLUDED
  34. #if defined(EXTENDED_FEATURES)
  35. #define INCL_ZMODEM_CRASH_RECOVERY
  36. #define INCL_REDIAL_ON_BUSY
  37. #define INCL_USE_TERMINAL_FONT
  38. #define INCL_SPINNING_GLOBE
  39. #define INCL_PRIVATE_EDITION_BANNER
  40. #define USE_PRIVATE_EDITION_3_BANNER
  41. #define INCL_WINSOCK
  42. #define INCL_USER_DEFINED_BACKSPACE_AND_TELNET_TERMINAL_ID
  43. #define INCL_CALL_ANSWERING
  44. #define INCL_DEFAULT_TELNET_APP
  45. #define INCL_VT100COLORS
  46. #define INCL_EXIT_ON_DISCONNECT
  47. #define INCL_VT220 // Added 20-Jan-98. rde
  48. #if defined(INCL_VT220) // The 320 requires the 220 be defined.
  49. #define INCL_VT320 // Added 24-Jan-98. rde
  50. #endif // INCL_VT220
  51. // This next define is for host controlled printing - raw versus windows
  52. // It should be enabled for commercial builds. MPT 11-18-99
  53. #define INCL_PRINT_PASSTHROUGH
  54. // A customer specific version. Added 16 Feb 98. rde
  55. //#define INCL_ULTC_VERSION
  56. //Private Edition 4 features
  57. #define INCL_TERMINAL_SIZE_AND_COLORS
  58. #define INCL_KEY_MACROS
  59. #define INCL_TERMINAL_CLEAR
  60. //#define INCL_USE_HTML_HELP //removed due to a requirement to redistribute a 404k support program
  61. #define INCL_NAG_SCREEN
  62. #define INCL_COOL_TOOLBARS
  63. #if !defined(USA)
  64. #define USA
  65. #endif // USA
  66. #undef JAPANESE
  67. #endif //EXTENDED_FEATURES
  68. #if defined(NT_EDITION)
  69. #undef EXTENDED_FEATURES // There are no extended features in the Microsoft version.
  70. #undef INCL_SPINNING_GLOBE
  71. #undef INCL_PRIVATE_EDITION_BANNER // There is no banner screen in the Microsoft version.
  72. #undef USE_PRIVATE_EDITION_3_BANNER // There is no banner screen in the Microsoft version.
  73. #undef INCL_VT100COLORS
  74. #undef INCL_EXIT_ON_DISCONNECT
  75. #undef INCL_VT220 // Added 20-Jan-98. rde
  76. #undef INCL_VT320 // Added 24-Jan-98. rde
  77. #undef INCL_PRINT_PASSTHROUGH
  78. #undef INCL_TERMINAL_SIZE_AND_COLORS
  79. #undef INCL_KEY_MACROS
  80. #undef INCL_TERMINAL_CLEAR
  81. #undef INCL_NAG_SCREEN // There is no nag screen in the Microsoft version.
  82. #undef INCL_COOL_TOOLBARS
  83. #define INCL_ZMODEM_CRASH_RECOVERY
  84. #define INCL_REDIAL_ON_BUSY
  85. #define INCL_USE_TERMINAL_FONT
  86. #define INCL_WINSOCK
  87. #define INCL_USER_DEFINED_BACKSPACE_AND_TELNET_TERMINAL_ID
  88. #define INCL_CALL_ANSWERING
  89. #define INCL_DEFAULT_TELNET_APP
  90. //mpt:08-22-97 added HTML help for Microsoft's version
  91. #if !defined(INCL_USE_HTML_HELP)
  92. #define INCL_USE_HTML_HELP
  93. #endif //INCL_USE_HTML_HELP
  94. //mpt:04-29-98 added new Printing Common Dialogs for Microsoft
  95. #if(WINVER >= 0x0500 && ISOLATION_AWARE_ENABLED)
  96. #if !defined(INCL_USE_NEWPRINTDLG)
  97. #define INCL_USE_NEWPRINTDLG
  98. #endif //INCL_USE_NEWPRINTDLG
  99. #endif // WINVER >= 0x0500
  100. //mpt:09-24-99 added new browse dialog for Microsoft
  101. #if !defined(INCL_USE_NEWFOLDERDLG)
  102. #define INCL_USE_NEWFOLDERDLG
  103. #endif //INCL_USE_NEWFOLDERDLG
  104. #if !defined(INCL_VTUTF8)
  105. #define INCL_VTUTF8
  106. #endif //INCL_VTUTF8
  107. #undef USA
  108. #if !defined(JAPANESE)
  109. #define JAPANESE
  110. #endif // JAPANESE
  111. #endif // NT_EDITION
  112. /*
  113. * Minitel and Prestel terminals are now included standard
  114. */
  115. #define INCL_MINITEL
  116. #define INCL_VIEWDATA
  117. /*
  118. * This feature is used in the FAR EAST version. It provides code to
  119. * support an optional character translation DLL. This DLL is called to
  120. * translate the data stream on both input and output. It does not
  121. * translate the underlying character values (at the present time), only
  122. * the encoding method. The initial version of this will only translate
  123. * between JIS and Shift-JIS. For commercial release, additional operations
  124. * such as JIS escape recovery, UNICODE, and EUC encoding can be added just
  125. * by changing the DLL. In fact, the new DLL can be offered as an upgrade
  126. * to the lower version of the product.
  127. *
  128. * #define CHARACTER_TRANSLATION
  129. */
  130. /*
  131. * These next feature sets are used to control the character width that we
  132. * are compiling for. There are 3 disjoint choices. Only one can be selected.
  133. * One MUST be selected. We will have code in here to cause noise if none or
  134. * more than one is selected.
  135. *
  136. * The 3 choices are:
  137. *
  138. * CHAR_NARROW
  139. * This is what we use for the U.S. and European versions. It means all
  140. * characters are a single "byte" and each one takes up 8 bits.
  141. *
  142. * CHAR_WIDE
  143. * This is what we will use for the UNICODE version if and when it ever
  144. * decides to become an option. It means that all characters are a single
  145. * "byte" and each one takes up 16 (for now) bits.
  146. *
  147. * CHAR_MIXED
  148. * This is what we use for the FAR EAST (DBCS) version. It means that the
  149. * characters may take up one or two "bytes" and each one takes up
  150. * 8 or 16 bits.
  151. * #define CHAR_NARROW
  152. * #define CHAR_WIDE
  153. * #define CHAR_MIXED
  154. */
  155. #if defined(USA)
  156. #define CHAR_NARROW
  157. #undef FAR_EAST
  158. #undef INCL_VT100J
  159. #undef INCL_ANSIW
  160. #undef CHAR_MIXED
  161. #undef CHARACTER_TRANSLATION
  162. #elif defined(JAPANESE)
  163. #undef CHAR_NARROW
  164. #define FAR_EAST
  165. #define INCL_VT100J
  166. #define INCL_ANSIW
  167. #define CHAR_MIXED
  168. #define CHARACTER_TRANSLATION
  169. #endif
  170. /* ************* THIS SECTION MUST BE AT THE END OF THE FILE*************
  171. *
  172. * It tests to see if required settings have been set for the current build
  173. *
  174. */
  175. #if 0
  176. #if !defined(CHAR_NARROW) && !defined(CHAR_WIDE) && !defined(CHAR_MIXED)
  177. #error Remember, one of these must be defined.
  178. #endif
  179. #if defined(CHAR_NARROW) && defined(CHAR_WIDE)
  180. #error Remember, only one of these can be defined.
  181. #endif
  182. #if defined(CHAR_NARROW) && defined(CHAR_MIXED)
  183. #error Remember, only one of these can be defined.
  184. #endif
  185. #if defined(CHAR_WIDE) && defined(CHAR_MIXED)
  186. #error Remember, only one of these can be defined.
  187. #endif
  188. #endif //0
  189. #if !defined(CHAR_WIDE) && !defined(CHAR_MIXED) && defined(INCL_VTUTF8)
  190. #error Remember, We must have CHAR_WIDE or CHAR_MIXED to have INCL_VTUTF8 defined.
  191. #undef INCL_VTUTF8
  192. #endif
  193. #endif // FEATURES_H_INCLUDED