다음을 통해 공유


IMsTscAx::SendOnVirtualChannel (Windows Embedded CE 6.0)

1/6/2010

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

Syntax

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 Value

If the method succeeds, the return value is S_OK.

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

Requirements

Header discodlg.h, mstsax.idl
Library Mstsax.lib
Windows Embedded CE Windows CE .NET 4.0 and later

See Also

Reference

IMsTscAx
IMsTscAx::CreateVirtualChannels