IRDPSRAPISharingSession::ConnectToClient method (rdpencomapi.h)
Used for reverse connect mode, where the sharer connects to the viewer. In this mode, the sharer sends the invitation file to the viewer out-of-band by using instant messaging (IM) or email. For the sharer to connect to the viewer, the sharer receives a connection string from the viewer out-of-band through IM or email.
Syntax
HRESULT ConnectToClient(
[in] BSTR bstrConnectionString
);
Parameters
[in] bstrConnectionString
Type: BSTR
Connection string that the viewer sends to the sharer out-of-band through IM or email.
Return value
Type: HRESULT
If the method succeeds, the return value is S_OK. Otherwise, the return value is an error code.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista |
Minimum supported server | Windows Server 2008 |
Target Platform | Windows |
Header | rdpencomapi.h |
DLL | RdpEncom.dll |