IWTSProtocolConnection::CreateVirtualChannel method (wtsprotocol.h)

[IWTSProtocolConnection::CreateVirtualChannel is no longer available for use as of Windows Server 2012. Instead, use IWRdsProtocolConnection::CreateVirtualChannel.]

Creates a static or dynamic virtual channel.

Syntax

HRESULT CreateVirtualChannel(
  [in]  CHAR      *szEndpointName,
  [in]  BOOL      bStatic,
  [in]  ULONG     RequestedPriority,
  [out] ULONG_PTR *phChannel
);

Parameters

[in] szEndpointName

A string value that contains the endpoint data that uniquely identifies the connection.

[in] bStatic

A Boolean value that specifies whether the virtual channel is static or dynamic. A value of TRUE specifies a static channel.

[in] RequestedPriority

An integer that contains the priority.

[out] phChannel

A pointer to the channel handle.

Return value

None

Remarks

Virtual channels are software extensions that can be created to enhance a Remote Desktop Services application. Examples include support for additional hardware or additions to the functionality provided by a given protocol. For more information, see Remote Desktop Services Virtual Channels.

Requirements

Requirement Value
Minimum supported client None supported
Minimum supported server Windows Server 2008 R2
Target Platform Windows
Header wtsprotocol.h

See also

IWTSProtocolConnection