Called when an attendee disconnects from the session.
void OnAttendeeDisconnected( [in] IDispatch *pDisconnectInfo );
The attendee that disconnected from the session. Query the IDispatch interface for the IRDPSRAPIAttendeeDisconnectInfo interface that you use to retrieve information about the disconnect operation.
This event does not return a value.
Notification is sent when:
- The client initiated the disconnect request.
- The server initiated the disconnect request in response to a IRDPSRAPIAttendee::TerminateConnection call (for example, the user wants to explicitly disconnect the attendee).
- The server initiated the disconnect request because there was an error in managing the connection with the attendee.
Notification is not sent when the attendees are disconnected because the session is closing.
|Minimum supported client
||Windows Vista [desktop apps | UWP apps]
|Minimum supported server
||Windows Server 2008 [desktop apps | UWP apps]