IMsTscAx::SendOnVirtualChannel (Windows CE 5.0)

Send Feedback

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

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.