共用方式為


OnControlLevelChangeResponse event

Called in response to a viewer requesting control.

Syntax

void OnControlLevelChangeResponse(
  [in] IDispatch  *pAttendee,
  [in] CTRL_LEVEL RequestedLevel,
       long       ReasonCode
);

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.

ReasonCode

The reason for the request.

Return value

This event does not return a value.

Requirements

Minimum supported client
Windows 10 [desktop apps only]
Minimum supported server
Windows Server 2016
Header
RdpEncomAPI.h
IDL
RdpEncomAPI.idl
Type library
RdpEncomAPI.tlb
DLL
RdpEncom.dll

See also

_IRDPSessionEvents

SendControlLevelChangeResponse