Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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 | Windows Store apps]

Minimum supported server

Windows Server 2008 [desktop apps | Windows Store apps]

Header

Rdpencomapi.h

IDL

Rdpencomapi.idl

Type library

Rdpencomapi.tlb

See also

_IRDPSessionEvents

 

 

Show:
© 2014 Microsoft