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.

94 lines
2.6 KiB

  1. //Copyright (c) Microsoft Corporation. All rights reserved.
  2. /****************************************************************************
  3. FILE: WinTelSz.c
  4. Declares global strings.
  5. TABS:
  6. Set for 4 spaces.
  7. ****************************************************************************/
  8. #include <windows.h> // required for all Windows applications
  9. #pragma warning (disable: 4201) // disable "nonstandard extension used : nameless struct/union"
  10. #include <commdlg.h>
  11. #pragma warning (default: 4201)
  12. #include "WinTel.h" // specific to this program
  13. TCHAR szTitleBase[SMALL_STRING + 1];
  14. TCHAR szTitleNone[SMALL_STRING + 1];
  15. UCHAR szNewLine[] = "\r\n";
  16. TCHAR szConnecting[SMALL_STRING + 1];
  17. TCHAR szVersion[SMALL_STRING + 1];
  18. TCHAR szAppName[SMALL_STRING + 1];
  19. TCHAR szInfoBanner[512];
  20. TCHAR szEscapeChar[SMALL_STRING + 1];
  21. TCHAR szPrompt[SMALL_STRING + 1];
  22. TCHAR szInvalid[255];
  23. TCHAR szHelp[1024];
  24. TCHAR szBuildInfo[255];
  25. TCHAR szClose[SMALL_STRING + 1];
  26. TCHAR szDisplay[SMALL_STRING + 1];
  27. TCHAR szHelpStr[SMALL_STRING + 1];
  28. TCHAR szOpen[SMALL_STRING + 1];
  29. TCHAR szOpenTo[SMALL_STRING + 1];
  30. TCHAR szOpenUsage[SMALL_STRING + 1];
  31. TCHAR szQuit[SMALL_STRING + 1];
  32. TCHAR szSend[SMALL_STRING + 1];
  33. TCHAR szSet[SMALL_STRING + 1];
  34. TCHAR szStatus[SMALL_STRING + 1];
  35. TCHAR szUnset[SMALL_STRING + 1];
  36. //#if defined(FE_IME)
  37. //TCHAR szEnableIMESupport[SMALL_STRING + 1];
  38. //TCHAR szDisableIMESupport[SMALL_STRING + 1];
  39. //#endif /* FE_IME */
  40. TCHAR szWillAuth[SMALL_STRING + 1];
  41. TCHAR szWontAuth[SMALL_STRING + 1];
  42. TCHAR szLocalEchoOn[SMALL_STRING + 1];
  43. TCHAR szLocalEchoOff[SMALL_STRING + 1];
  44. //#if defined(FE_IME)
  45. //TCHAR szEnableIMEOn[SMALL_STRING + 1];
  46. //#endif /* FE_IME */
  47. TCHAR szConnectedTo[SMALL_STRING + 1];
  48. TCHAR szNotConnected[SMALL_STRING + 1];
  49. TCHAR szNegoTermType[SMALL_STRING + 1];
  50. TCHAR szPrefTermType[255];
  51. TCHAR szSetFormat[255];
  52. TCHAR szSupportedTerms[255];
  53. TCHAR szSetHelp[1024];
  54. TCHAR szUnsetFormat[255];
  55. TCHAR szUnsetHelp[1024];
  56. //#if defined(FE_IME)
  57. //TCHAR szEnableIMEFormat[SMALL_STRING + 1];
  58. //TCHAR szEnableIMEHelp[255];
  59. //TCHAR szDisableIMEFormat[SMALL_STRING + 1];
  60. //TCHAR szDisableIMEHelp[255];
  61. //#endif /* FE_IME */
  62. /* Error messages */
  63. TCHAR szConnectionLost[255];
  64. UCHAR szNoHostName[SMALL_STRING + 1];
  65. TCHAR szTooMuchText[255];
  66. TCHAR szConnectFailed[255];
  67. TCHAR szConnectFailedMsg[255];
  68. TCHAR szOnPort[SMALL_STRING + 1];
  69. TCHAR szCantInitSockets[SMALL_STRING + 1];
  70. #ifdef DBCS
  71. UCHAR szInproperFont[255];
  72. #endif
  73. //TCHAR szEscapeCharacter[2];