IRDPSRAPISharingSession2::ConnectUsingTransportStream method (rdpencomapi.h)
Connects using the specified transport stream.
Syntax
HRESULT ConnectUsingTransportStream(
[in] IRDPSRAPITransportStream *pStream,
[in] BSTR bstrGroup,
[in] BSTR bstrAuthenticatedAttendeeName
);
Parameters
[in] pStream
The transport stream used for the connection.
[in] bstrGroup
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.
[in] bstrAuthenticatedAttendeeName
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
Requirement | Value |
---|---|
Minimum supported client | Windows 10 [desktop apps only] |
Minimum supported server | Windows Server 2016 |
Target Platform | Windows |
Header | rdpencomapi.h |
DLL | RdpEncom.dll |