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.

65 lines
2.4 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. var c_szRemoteDataCollection = "REMOTEDATACOLLECTION";
  26. var c_szRemoteDataCollectMode = "REMOTEDATACOLLECTIONMODE";
  27. //
  28. // Localizable contants
  29. //
  30. var L_cszExpertID = "\n Helper> ";
  31. var L_cszUserID = "\n Helpee> ";
  32. var L_ENDRC = "End Remote Control";
  33. var L_STARTRC = "Start Remote Control";
  34. var L_QUITSESSION = "Quit Session";
  35. var L_CONNECT = "Connect";
  36. var L_HIDECHAT = "Hide Chat Boxes";
  37. var L_SHOWCHAT = "Show Chat Boxes";
  38. //
  39. // Messages
  40. //
  41. var L_NOTCONNECTION_MSG = "NOTCONNECTED";
  42. var L_CONNECTIONESTABLISHED_MSG = "CONNECTED in CHAT Mode";
  43. var L_ATTEMPTCONNECTION_MSG = "Attempting to connect...";
  44. var L_ENABLERC_MSG = "Enabling Remote Control. \n Chat will no longer function";
  45. var L_DISABLERC_MSG = "Disabling Remote Control.";
  46. var L_DISCONNECTED_MSG = "Disconnected from User's machine";
  47. var L_WAITFORHELPEE_MSG = "Waiting for Helpee to Respond";
  48. var L_RCSUCCESS_MSG = "Successfully completed Remote Control";
  49. //
  50. // Error Messages
  51. //
  52. var L_UNABLETOLOAD_MSG = "Unable to load incident";
  53. var L_ERRLOADINGINCIDENT_MSG = "Error loading incident";
  54. var L_ERRLOADINGUSERNAME_MSG = "Unable to load UserName from XML";
  55. var L_ERRLOADINGRCTICKET_MSG = "Unable to load RCTicket from XML";
  56. var L_ERRRDSCLIENT_MSG = "RDSClient object is null";
  57. var L_ERRCONNECT_MSG = "Unable to Connect";
  58. var L_ERRRDSCLIENTHOST_MSG = "Invalid RDSClientHost object";
  59. var L_ERRLOADXMLFAIL_MSG = "Failed to Load XML for RCControl command sent from user";
  60. var L_ERRPWD_MSG = "Invalid password. Renter the correct password";
  61. var L_ERRRCTOGGLEFAILED_MSG = "Failed to Toggle between Remote Control and Chat Mode";