IWTSProtocolConnection::CreateVirtualChannel method

[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(
  CHAR      *szEndpointName,
  BOOL      bStatic,
  ULONG     RequestedPriority,
  ULONG_PTR *phChannel
);

Parameters

szEndpointName

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

bStatic

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

RequestedPriority

An integer that contains the priority.

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

   
Windows version None supported Windows Server 2008 R2
Target Platform Windows
Header wtsprotocol.h

See Also

IWTSProtocolConnection