Windows Dev Center

IMsTscAx::CreateVirtualChannels method

Creates a client-side virtual channel object for each specified virtual channel name.

Syntax


HRESULT CreateVirtualChannels(
  [in] BSTR newVal
);

Parameters

newVal [in]

A comma-separated list of valid virtual channel names. The length of each name in this list can be a minimum of one and a maximum of seven alphabetical characters. The length of the entire string can be a minimum of one and a maximum of 300 alphabetical characters.

Return value

Returns S_OK if successful. Returns E_INVALIDARG if the parameter that is passed does not meet the criteria that is specified.

Remarks

Call this method before calling the Connect method.

Refer to Virtual Channel Client Registration for information about virtual channel naming restrictions.

For more information about Remote Desktop Web Connection, see Requirements for Remote Desktop Web Connection.

Requirements

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2003

Type library

Mstscax.dll

DLL

Mstscax.dll

IID

IID_IMsTscAx is defined as 8C11EFAE-92C3-11D1-BC1E-00C04FA31489

See also

IMsRdpClient
IMsRdpClient2
IMsRdpClient3
IMsRdpClient4
IMsRdpClient5
IMsRdpClient6
IMsRdpClient7
IMsRdpClient8
IMsTscAx

 

 

Show:
© 2015 Microsoft