_IRDPSessionEvents interface
Implement this interface to receive notifications when events occur.
Members
The _IRDPSessionEvents interface inherits from the IDispatch interface. _IRDPSessionEvents also has these types of members:
Events
The _IRDPSessionEvents interface has these events.
| Event | Description |
|---|---|
| OnApplicationClose |
Called when an application closes. |
| OnApplicationOpen |
Called when a new application is created. |
| OnApplicationUpdate |
Called when the shared property on the application object is changed. |
| OnAttendeeConnected |
Called when an attendee connects to the session. |
| OnAttendeeDisconnected |
Called when an attendee disconnects from the session. |
| OnAttendeeUpdate |
Called when one of the property values for an attendee changes. |
| OnChannelDataReceived |
Called when data is received from an attendee. |
| OnChannelDataSent |
Called when data is sent to the client. |
| OnConnectionAuthenticated |
Called when the connection is authenticated. |
| OnConnectionEstablished |
Called when a connection to the server is established. |
| OnConnectionFailed |
Called when the client fails to connect to the server. |
| OnConnectionTerminated |
Called when the client's connection to the server is closed. |
| OnControlLevelChangeRequest |
Called when a viewer requests control. |
| OnControlLevelChangeResponse |
Called in response to a viewer requesting control. Windows Server 2012 R2, Windows 8.1, Windows Server 2012, Windows 8, Windows Server 2008 R2, Windows 7, Windows Server 2008 and Windows Vista: This event is not supported before Windows 10 and Windows Server 2016. |
| OnError |
Called when a critical error occurs in the session. |
| OnFocusReleased |
Called when the shared top-level window has gained or lost focus. |
| OnGraphicsStreamPaused |
Called when the graphics stream has been paused. |
| OnGraphicsStreamResumed |
Called when the graphics stream has been resumed. |
| OnSharedDesktopSettingsChanged |
Called when a shared desktop setting changes. |
| OnSharedRectChanged |
Called when the size of the shared top-level window of the application changes. |
| OnViewingSizeChanged |
Called when the viewer cropping size has changed. |
| OnWindowClose |
Called when a sharable top-level window is closed. |
| OnWindowOpen |
Called when a sharable top-level window is created by an application. |
| OnWindowUpdate |
Called when one of the properties on the Window object changes. |
Requirements
|
Minimum supported client |
Windows Vista [desktop apps | Windows Store apps] |
|---|---|
|
Minimum supported server |
Windows Server 2008 [desktop apps | Windows Store apps] |
|
Header |
|
|
IDL |
|
|
Type library |
|
|
DLL |
|
|
CLSID |
CLSID_RDPSession is defined as 9B78F0E6-3E05-4A5B-B2E8-E743A8956B65 CLSID_RDPViewer is defined as 32be5ed2-5c86-480f-a914-0ff8885a1b3f |
|
IID |
DIID__IRDPSessionEvents is defined as 98a97042-6698-40e9-8efd-b3200990004b |
See also