OnAttendeeDisconnected event
Called when an attendee disconnects from the session.
Syntax
void OnAttendeeDisconnected(
[in] IDispatch *pDisconnectInfo
);
Parameters
-
pDisconnectInfo [in]
-
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.
Return value
This event does not return a value.
Remarks
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.
Requirements
Minimum supported client |
Windows Vista [desktop apps | UWP apps] |
Minimum supported server |
Windows Server 2008 [desktop apps | UWP apps] |
Header |
|
IDL |
|
Type library |
|
DLL |
|