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.

139 lines
6.1 KiB

  1. #if DEBUG
  2. #define REMOTE_ASSISTANCE Remote Assistance Debug
  3. #else
  4. #define REMOTE_ASSISTANCE Remote Assistance
  5. #endif
  6. #define REMOTE_ASSISTANCE_MAIN Remote Assistance - Options
  7. #define REMOTE_ASSISTANCE_INVITE Remote Assistance - Invite a helper
  8. #define REMOTE_ASSISTANCE_STATUS Remote Assistance - Invitation Status
  9. //
  10. // Version Information
  11. //
  12. #define c_szSchema "SCHEMAVERSION"
  13. #define c_szControlChannel "CONTROLCHANNELVERSION"
  14. #define c_szHelperVersion "HELPERVERSION"
  15. #define c_szSchemaVersion "5.1"
  16. #define c_szControlChannelVersion "5.1"
  17. #define g_bVersionCheckEnforced false
  18. //
  19. // Constants
  20. //
  21. #define c_szChatChannelID "70"
  22. #define c_szControlChannelID "71"
  23. #define c_szHomePage "hcp://system/HomePage.htm"
  24. #define c_szRCCommand "RCCOMMAND"
  25. #define c_szRCCommandName "NAME"
  26. #define c_szScreenInfo "SCREENINFO"
  27. #define c_szDisconnect "DISCONNECT"
  28. #define c_szWidth "WIDTH"
  29. #define c_szHeight "HEIGHT"
  30. #define c_szColorDepth "COLORDEPTH"
  31. #define c_szwinName "Windows Remote Assistance Tool"
  32. #define c_szDisconnectRC "DISCONNECTRC"
  33. #define c_szRejectRC "REJECTRC"
  34. #define c_szAcceptRC "ACCEPTRC"
  35. #define c_szDeniedRC "DENIEDRC"
  36. #define c_szErrorRC "ERRORRC"
  37. #define c_szEscRC "ESCRC"
  38. #define c_szAbortRC "ABORTRC"
  39. #define c_szTakeControl "TAKECONTROL"
  40. #define c_szFileXfer "FILEXFER"
  41. #define c_szFileName "FILENAME"
  42. #define c_szFileSize "FILESIZE"
  43. #define c_szChannelId "CHANNELID"
  44. #define c_szRemoteCtrlStart "REMOTECTRLSTART"
  45. #define c_szRemoteCtrlEnd "REMOTECTRLEND"
  46. #define c_szRCMODE "Connected in REMOTE ASSISTANCE Mode"
  47. #define c_szCHATMODE "Connected in CHAT Mode"
  48. #define c_szFileXferACK "FILEXFERACK"
  49. #define c_szFileXferREJECT "FILEXFERREJECT"
  50. #define c_szFileXferEND "FILEXFEREND"
  51. #define c_MAXFILEXFERSIZE 102400
  52. #define c_FILEXFERPKTGAP 1
  53. #define c_szURC "URC"
  54. #define c_szSHOWCHAT "SHOWCHAT"
  55. #define c_szHIDECHAT "HIDECHAT"
  56. #define c_FileXferWidth "405"
  57. #define c_FileXferHeight "179"
  58. #define c_RCChatWidth "384"
  59. #define c_RCChatHeight "528"
  60. #define c_RCControlWidth (2*(window.screen.availWidth/3))
  61. #define c_RCControlHeight "100"
  62. #define c_RCControlHiddenWidth "100"
  63. #define c_RCControlHiddenHeight "325"
  64. #define c_szVoipPreStart "PRESTART"
  65. #define c_szVoipPreStartYes "PRESTARTYES"
  66. #define c_szVoipPreStartNo "PRESTARTNO"
  67. #define c_szVoipDisable "DISABLEVOICE"
  68. #define c_szVoipGo "VOIPGO"
  69. #define c_szVoipGoKey "VOIPGOKEY"
  70. #define c_szVoipIPList "VOIPIPLIST"
  71. #define c_szVoipVer "VOIPVER"
  72. #define c_szVoipPreGo "VOIPPREGO"
  73. #define c_szVoipPreGo2 "VOIPPREGO2"
  74. #define c_szVoipQNo "VOIPQNO"
  75. #define c_szVoipGoNo "VOIPGONO"
  76. #define c_szVoipGoFail "VOIPGOFAIL"
  77. #define c_szVoipWizardGood "WIZARDGOOD"
  78. #define c_szVoipWizardBad "WIZARDBAD"
  79. #define c_szVoipBandwidthToHigh "BANDWTOHIGH"
  80. #define c_szVoipBandwidthToLow "BANDWTOLOW"
  81. #define c_szVoipVersion2 "VOIPVER2"
  82. #define c_szExpertIP "EXPERTIP"
  83. #define c_szExpertIPDATA "EXPERTIPDATA"
  84. #define c_szTYPINGSTART "TYPINGSTART"
  85. #ifdef _PERF_OPTIMIZATIONS
  86. #define c_szFileXferURL "hcp://system/Remote Assistance/Interaction/Common/RCFileXfer.htm"
  87. #define c_szMsgURL "hcp://system/Remote Assistance/Interaction/Common/ErrorMsgs.htm"
  88. #define c_szVOIPMsgURL "hcp://system/Remote Assistance/Interaction/Common/VOIPMsgs.htm"
  89. #else
  90. #define c_szFileXferURL "hcp://CN=Microsoft Corporation,L=Redmond,S=Washington,C=US/Remote Assistance/Interaction/Common/RCFileXfer.htm"
  91. #define c_szMsgURL "hcp://CN=Microsoft Corporation,L=Redmond,S=Washington,C=US/Remote Assistance/Interaction/Common/ErrorMsgs.htm"
  92. #define c_szVOIPMsgURL "hcp://CN=Microsoft Corporation,L=Redmond,S=Washington,C=US/Remote Assistance/Interaction/Common/VOIPMsgs.htm"
  93. #endif
  94. #define c_szMsgSpecs "dialogwidth:405px;dialogHeight:165px;status:no;resizable:no;help:no"
  95. #define c_szTCMsgSpecs "dialogwidth:470px;dialogHeight:188px;status:no;resizable:no;help:no"
  96. #define c_szTakeControlSpecs "dialogwidth:405px;dialogHeight:270px;status:no;resizeable:no;help:no"
  97. #define c_szNOIncidentFile "NOFILE"
  98. #define c_szLISTEN "LISTEN"
  99. #define c_iCONNECTION_TIMEOUT 20000
  100. //
  101. // Object ProgIDs
  102. //
  103. #define szProgIDPanic "SAFRCFileDlg.Panic"
  104. #define szProgIDSetting "SAFRCFileDlg.RASetting"
  105. #define szProgIDEscalationSetting "rcbdyctl.Setting"
  106. #define c_szREGDebugSpew "HKLM\\SOFTWARE\\Microsoft\\PCHealth\\HelpCtr\\SAFSessionResolver\\DebugSpew"
  107. #ifdef _BVT
  108. #define c_szChatBVT "!!!!!!!!!!!@@@@@@@@@@ CHAT BVT @@@@@@@@@@!!!!!!!!!!!"
  109. #define c_szTakeControlBVT "!!!!!!!!!!!@@@@@@@@@@ TAKE CONTROL BVT @@@@@@@@@@!!!!!!!!!!!"
  110. #define c_szReleaseControlBVT "!!!!!!!!!!!@@@@@@@@@@ RELEASE CONTROL BVT @@@@@@@@@@!!!!!!!!!!!"
  111. #define c_szDisconnectBVT "!!!!!!!!!!!@@@@@@@@@@ DISCONNECT BVT @@@@@@@@@@!!!!!!!!!!!"
  112. #define c_szBVTPASS "!!!!!!!!!!!@@@@@@@@@@ PASS @@@@@@@@@@!!!!!!!!!!!"
  113. #define c_szBVTFAIL "!!!!!!!!!!!@@@@@@@@@@ FAIL @@@@@@@@@@!!!!!!!!!!!"
  114. #define c_szPASS " PASS "
  115. #define c_szFAIL " FAIL "
  116. #define c_szBVTTESTER "{683EA56F-546F-44e0-81D4-AC683E50757B}"
  117. #define c_szBVTUSER " BVT "
  118. #endif
  119. //error messages
  120. #define c_szError1 "A program has stopped responding.Please try again."
  121. #define c_szError2 "A program could not start.Please try again."
  122. #define c_szError3 "A program has stopped responding.Please restart the program and try again."
  123. #define c_szVoiceError "The necessary hardware and/or configuration to use a voice connection is not available;'Start Talking' will be disabled for the remainder of this Remote Assistance session."
  124. #define c_szVoiceConnError "A voice connection could not be established. Please try again later.";