IRDPSRAPISharingSession2 interface (rdpencomapi.h)

The main object that an application must create to start a collaboration session. The session object is hosted in-process by RdpEncom.dll. Even though session object is hosted in-process, there can be only one instance of this object created within a Winlogon session. Creating a second object will fail.

This interface uses the single-threaded apartment (STA) threading model. The object exposes a source interface that is used for firing session-specific events (_IRDPSessionEvents) and a dual interface that is used for managing a session.

This interface extends the IRDPSRAPISharingSession interface and contains the following members.

Inheritance

The IRDPSRAPISharingSession2 interface inherits from IRDPSRAPISharingSession. IRDPSRAPISharingSession2 also has these types of members:

Methods

The IRDPSRAPISharingSession2 interface has these methods.

 
IRDPSRAPISharingSession2::ConnectUsingTransportStream

Connects using the specified transport stream.
IRDPSRAPISharingSession2::get_FrameBuffer

Gets a frame buffer for this session.
IRDPSRAPISharingSession2::SendControlLevelChangeResponse

Sends an OnControlLevelChangeResponse event.

Requirements

Requirement Value
Minimum supported client Windows 10 [desktop apps | UWP apps]
Minimum supported server Windows Server 2016 [desktop apps | UWP apps]
Target Platform Windows
Header rdpencomapi.h

See also

IRDPSRAPISharingSession