Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
ConnectToClient method

IRDPSRAPISharingSession2::ConnectToClient method

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

bstrConnectionString [in]

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

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2008

Header

RdpEncomAPI.h

IDL

RdpEncomAPI.idl

Type library

RdpEncomAPI.tlb

DLL

RdpEncom.dll

See also

IRDPSRAPISharingSession2
IRDPSRAPISharingSession

 

 

Show:
© 2015 Microsoft