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.

67 lines
2.5 KiB

  1. //
  2. // Constants
  3. //
  4. var c_szChatChannelID = "70";
  5. var c_szControlChannelID = "71";
  6. var c_szHomePage = "hcp://system/HomePage.htm";
  7. var c_szRCCommand = "RCCOMMAND";
  8. var c_szRCCommandName = "NAME";
  9. var c_szScreenInfo = "SCREENINFO";
  10. var c_szDisconnect = "DISCONNECT";
  11. var c_szWidth = "WIDTH";
  12. var c_szHeight = "HEIGHT";
  13. var c_szColorDepth = "COLORDEPTH";
  14. var c_szwinName = "Windows Remote Control Tool";
  15. var c_szDisconnectRC = "DISCONNECTRC";
  16. var L_COMPLETE = 4;
  17. var c_szFileXfer = "FILEXFER";
  18. var c_szFileName = "FILENAME";
  19. var c_szFileSize = "FILESIZE";
  20. var c_szChannelId = "CHANNELID";
  21. var c_szRemoteCtrlStart = "REMOTECTRLSTART";
  22. var c_szRemoteCtrlEnd = "REMOTECTRLEND";
  23. var c_szRCMODE = "Connected in REMOTE CONTROL Mode";
  24. var c_szCHATMODE = "Connected in CHAT Mode";
  25. //
  26. // Localizable contants
  27. //
  28. var L_cszExpertID = "\n Helper> ";
  29. var L_cszUserID = "\n Helpee> ";
  30. var L_ENDRC = "End Remote Control";
  31. var L_STARTRC = "Start Remote Control";
  32. var L_QUITSESSION = "Quit Session";
  33. var L_CONNECT = "Connect";
  34. var L_HIDECHAT = "Hide Chat Boxes";
  35. var L_SHOWCHAT = "Show Chat Boxes";
  36. var L_ConnectTo = "Connecting to remote computer";
  37. var L_WaitingFor = "Waiting for response from ";
  38. var L_ConnectionSuccess = "Help session established successfully";
  39. //
  40. // Messages
  41. //
  42. var L_NOTCONNECTION_MSG = "NOTCONNECTED";
  43. var L_CONNECTIONESTABLISHED_MSG = "Help session established successfully";
  44. var L_ATTEMPTCONNECTION_MSG = "Attempting to connect...";
  45. var L_ENABLERC_MSG = "Enabling Remote Control. \n Chat will no longer function";
  46. var L_DISABLERC_MSG = "Disabling Remote Control.";
  47. var L_DISCONNECTED_MSG = "Disconnected from User's machine";
  48. var L_WAITFORHELPEE_MSG = "Waiting for response from ";
  49. var L_RCSUCCESS_MSG = "Successfully completed Remote Control";
  50. //
  51. // Error Messages
  52. //
  53. var L_UNABLETOLOAD_MSG = "Unable to load incident";
  54. var L_ERRLOADINGINCIDENT_MSG = "Error loading incident";
  55. var L_ERRLOADINGUSERNAME_MSG = "Unable to load UserName from XML";
  56. var L_ERRLOADINGRCTICKET_MSG = "Unable to load RCTicket from XML";
  57. var L_ERRRDSCLIENT_MSG = "RDSClient object is null";
  58. var L_ERRCONNECT_MSG = "Unable to Connect";
  59. var L_ERRRDSCLIENTHOST_MSG = "Invalid RDSClientHost object";
  60. var L_ERRLOADXMLFAIL_MSG = "Failed to Load XML for RCControl command sent from user";
  61. var L_ERRPWD_MSG = "Invalid password. Renter the correct password";
  62. var L_ERRRCTOGGLEFAILED_MSG = "Failed to Toggle between Remote Control and Chat Mode";