共用方式為


OnAttendeeConnected event

Called when an attendee connects to the session.

Syntax

void OnAttendeeConnected(
  [in] IDispatch *pAttendee
);

Parameters

pAttendee [in]

The attendee that connected to the session. Query the IDispatch interface for the IRDPSRAPIAttendee interface that you use to retrieve information about the attendee.

Return value

This event does not return a value.

Remarks

This event means that the attendee has gone through the connection sequence and the client is ready to receive graphics data. The client is already authenticated based on the ticket and password sent in the security data. The client though is not able to view or control the session at this point because its control level property is set to CTRL_LEVEL_NONE.

Requirements

Minimum supported client
Windows Vista [desktop apps | UWP apps]
Minimum supported server
Windows Server 2008 [desktop apps | UWP apps]
Header
RdpEncomAPI.h
IDL
RdpEncomAPI.idl
Type library
RdpEncomAPI.tlb
DLL
RdpEncom.dll

See also

_IRDPSessionEvents