Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
Requirement | Value |
---|---|
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 |