IMsTscAx::SendOnVirtualChannel method

Sends data to the Remote Desktop Session Host (RD Session Host) server over a virtual channel that was created previously by using the CreateVirtualChannels method.

Syntax


HRESULT SendOnVirtualChannel(
  [in]  BSTR ChanName,
  [in]  BSTR ChanData
);

Parameters

ChanName [in]

The virtual channel name that was specified in the call to CreateVirtualChannels.

ChanData [in]

The data to send over the virtual channel, in BSTR form. There is no restriction that this data must be null-terminated strings.

Return value

Return S_OK if successful.

Remarks

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 XP

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
CreateVirtualChannels
IMsTscAx

 

 

Show:
© 2014 Microsoft