Partager via


IMsTscAx::SendOnVirtualChannel

This method sends data to the Terminal server over a virtual channel that was created previously with the IMsTscAx::CreateVirtualChannels method.

HRESULT SendOnVirtualChannel(
  BSTR ChanName,
  BSTR ChanData
);

Parameters

  • ChanName
    [in] The virtual channel name specified in the call to IMsTscAx::CreateVirtualChannels.
  • ChanData
    [in] The data to send over the virtual channel, in BSTR form. The data does not have to be null-terminated strings.

Return Values

If the method succeeds, the return value is S_OK.

If it fails, the method returns a nonzero error code.

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: Discodlg.h. Mstsax.idl.
Link Library: Mstsax.lib.

See Also

IMsTscAx | IMsTscAx::CreateVirtualChannels

 Last updated on Saturday, April 10, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.