3.4.4 Message Processing Events and Sequencing Rules
The following list shows the sequence of steps involved in a Remote Assistance Connection String request:
The client initiates the conversation with the server by performing DCOM activation, as specified in [MS-DCOM] section 3.2.4.1.1, of the RASrv CLSID specified in section 1.9. As a result of the activation, the client gets the RASrv's interface from the server.
The client then obtains an additional IRASrv interface from the RASrv interface as specified in [MS-DCOM] section 3.2.4.4.3.
The client then invokes the GetSessionInfo method of the IRASrv interface to retrieve the terminal services session information as a SAFEARRAY of BSTRs and the count of the number of sessions.
From the collected terminal services session entries, choose a session and use the corresponding SessionID to invoke the GetNoviceUserInfo method of IRASrv in the specified session. This call returns the Remote Assistance Connection String for the specified session.
This Remote Assistance Connection String is valid to begin the Remote Assistance connection from the expert computer to the novice computer.