Share via


OnControlLevelChangeRequest event

Called when a viewer requests control.

Syntax

void OnControlLevelChangeRequest(
  [in] IDispatch  *pAttendee,
  [in] CTRL_LEVEL RequestedLevel
);

Parameters

pAttendee [in]

Attendee that requests control. Query the IDispatch interface for the IRDPSRAPIAttendee interface that you use to retrieve information about the attendee.

RequestedLevel [in]

Level of control requested by the attendee. For possible values, see the CTRL_LEVEL enumeration.

Return value

This event does not return a value.

Remarks

Any authenticated attendee can request a control level change.

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