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
Requirement | Value |
---|---|
Minimum supported client |
Windows Vista |
Minimum supported server |
Windows Server 2008 |
Type library |
|
DLL |
|
IID |
IID_IMsTscAx is defined as 8C11EFAE-92C3-11D1-BC1E-00C04FA31489 |