IRDPSRAPISharingSession2::SendControlLevelChangeResponse method (rdpencomapi.h)
Sends an OnControlLevelChangeResponse event.
Syntax
HRESULT SendControlLevelChangeResponse(
[in] IRDPSRAPIAttendee *pAttendee,
[in] CTRL_LEVEL RequestedLevel,
[in] long ReasonCode
);
Parameters
[in] pAttendee
Attendee that requests control.
[in] RequestedLevel
Level of control requested by the attendee. For possible values, see the CTRL_LEVEL enumeration.
[in] ReasonCode
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
Requirement | Value |
---|---|
Minimum supported client | Windows 10 [desktop apps only] |
Minimum supported server | Windows Server 2016 |
Target Platform | Windows |
Header | rdpencomapi.h |
DLL | RdpEncom.dll |