Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

IRDPSRAPIVirtualChannel::SetAccess method

Enables the channel for an attendee.

Syntax


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

Parameters

lAttendeeId [in]

Type: long

The identifier of the attendee.

AccessType [in]

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 | Windows Store apps]

Minimum supported server

Windows Server 2008 [desktop apps | Windows Store apps]

Header

RdpEncomAPI.h

IDL

RdpEncomAPI.idl

Type library

RdpEncomAPI.tlb

DLL

RdpEncom.dll

See also

IRDPSRAPIVirtualChannel

 

 

Show:
© 2017 Microsoft