IRDPSRAPISharingSession2::SendControlLevelChangeResponse method

Sends an OnControlLevelChangeResponse event.

Syntax


HRESULT SendControlLevelChangeResponse(
  [in] IRDPSRAPIAttendee *pAttendee,
  [in] CTRL_LEVEL        RequestedLevel,
  [inlong              ReasonCode
);

Parameters

pAttendee [in]

Attendee that requests control.

RequestedLevel [in]

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

ReasonCode [in]

Specifies the reason for the change.

Return value

If the method succeeds, the return value is S_OK. Otherwise, the return value is an error code.

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

IRDPSRAPISharingSession2

 

 

Show: