IRDPSRAPISharingSession2::ConnectUsingTransportStream method

Connects using the specified transport stream.

Syntax


HRESULT ConnectUsingTransportStream(
  [in] IRDPSRAPITransportStream *pStream,
  [in] BSTR                     bstrGroup,
  [in] BSTR                     bstrAuthenticatedAttendeeName
);

Parameters

pStream [in]

The transport stream used for the connection.

bstrGroup [in]

The name of the group. The string must be unique for the session. Applications typically use the group name to separate attendees into groups that can be granted different authorization levels.

bstrAuthenticatedAttendeeName [in]

The name of the authenticated attendee.

Return value

If the method succeeds, the return value is S_OK. Otherwise, the return value is an error code.

Requirements

Minimum supported client

Windows 10 [desktop apps only]

Minimum supported server

Windows Server 2016

Header

RdpEncomAPI.h

IDL

RdpEncomAPI.idl

Type library

RdpEncomAPI.tlb

DLL

RdpEncom.dll

See also

IRDPSRAPISharingSession2

 

 

Show: