IRDPSRAPIVirtualChannel::SetAccess method (rdpencomapi.h)

Enables the channel for an attendee.

Syntax

HRESULT SetAccess(
  [in] long                lAttendeeId,
  [in] CHANNEL_ACCESS_ENUM AccessType
);

Parameters

[in] lAttendeeId

Type: long

The identifier of the attendee.

[in] AccessType

Type: CHANNEL_ACCESS_ENUM

The type of access granted. This parameter can be one of the following values.

CHANNEL_ACCESS_ENUM_NONE

CHANNEL_ACCESS_ENUM_SENDRECEIVE

Return value

Type: HRESULT

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

Remarks

This method must be called for each attendee that will receive data over the channel.

Requirements

   
Minimum supported client Windows Vista [desktop apps | UWP apps]
Minimum supported server Windows Server 2008 [desktop apps | UWP apps]
Target Platform Windows
Header rdpencomapi.h
DLL RdpEncom.dll

See also

IRDPSRAPIVirtualChannel