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.

74 lines
2.9 KiB

  1. /*++
  2. * File name:
  3. * clntdata.h
  4. * Contents:
  5. * RDP client specific definitions
  6. *
  7. * Copyright (C) 1998-1999 Microsoft Corp.
  8. *
  9. --*/
  10. #ifndef _CLNTDATA_H
  11. #define _CLNTDATA_H
  12. #ifdef __cplusplus
  13. extern "C" {
  14. #endif
  15. #ifdef OS_WIN16
  16. #define _TEXTSMC(_x_) _x_
  17. #else // !OS_WIN16
  18. #define _TEXTSMC(_x_) L##_x_
  19. #endif // !OS_WIN16
  20. // Default vals of various string we are waiting for
  21. #define RUN_MENU _TEXTSMC("Shut Down...")
  22. #define START_LOGOFF _TEXTSMC("\\p\\p\\p\\72\\*72\\72\\*72\\72\\*72\\n")
  23. #define RUN_ACT _TEXTSMC("r")
  24. #define RUN_BOX _TEXTSMC("Type the name of a program")
  25. #define WINLOGON_USERNAME _TEXTSMC("Options <<")
  26. #define WINLOGON_ACT _TEXTSMC("\\&u\\&")
  27. #define PRIOR_WINLOGON _TEXTSMC("Options >>")
  28. #define PRIOR_WINLOGON_ACT _TEXTSMC("\\&o\\&")
  29. #define NO_SMARTCARD_UI _TEXTSMC("Password:")
  30. #define SMARTCARD_UI _TEXTSMC("PIN:")
  31. #define SMARTCARD_UI_ACT _TEXTSMC("\\^")
  32. #define WINDOWS_NT_SECURITY _TEXTSMC("Windows NT Security")
  33. #define WINDOWS_NT_SECURITY_ACT _TEXTSMC("l")
  34. #define ARE_YOU_SURE _TEXTSMC("Are you sure")
  35. #define SURE_LOGOFF_ACT _TEXTSMC("\\n")
  36. #define LOGON_ERROR_MESSAGE _TEXTSMC("\\n")
  37. #define LOGON_DISABLED_MESSAGE _TEXTSMC("Terminal Server Sessions Disabled")
  38. // This string is in RegisterChat only. English version only
  39. // OBSELETE.
  40. #define LOGOFF_COMMAND _TEXTSMC("logoff")
  41. #define REG_BASE L"SOFTWARE\\Microsoft\\Terminal Server Client"
  42. #define REG_DEFAULT L"SOFTWARE\\Microsoft\\Terminal Server Client\\Default"
  43. #define ALLOW_BACKGROUND_INPUT L"Allow Background Input"
  44. #define NAME_MAINCLASS L"UIMainClass" // Clients main window class
  45. #define NAME_CONTAINERCLASS L"UIContainerClass"
  46. #define NAME_INPUT L"IHWindowClass" // IH (InputHalndle) class name
  47. #define NAME_OUTPUT L"OPWindowClass" // OP (OutputRequestor)
  48. // class name
  49. #define CLIENT_CAPTION "Terminal Services Client"
  50. // clients caption
  51. #define CONNECT_CAPTION "Connect" // Connect button
  52. #define DISCONNECT_DIALOG_BOX "Terminal Services Client Disconnected"
  53. // Caption of the box when
  54. // the client is disconnected
  55. #define STATIC_CLASS "Static"
  56. #define BUTTON_CLASS "Button"
  57. #define YES_NO_SHUTDOWN "Disconnect Windows session"
  58. #define FATAL_ERROR_5 "Fatal Error (Error Code: 5)"
  59. // Caption of disconnect box
  60. #define CLIENT_EXE "mstsc.exe" // Client executable
  61. #ifdef __cplusplus
  62. }
  63. #endif
  64. #endif // _CLNTDATA_H