IRDPSRAPIVirtualChannel::SendData method
Sends data on the channel.
Syntax
HRESULT SendData( [in] BSTR bstrData, [in] long lAttendeeId, [in] unsigned long ChannelSendFlags );
Parameters
- bstrData [in]
-
Type: BSTR
The buffer to be sent in a packet on the channel. The maximum size of the data is CONST_MAX_MESSAGE_SIZE bytes.
- lAttendeeId [in]
-
Type: long
The attendee that should receive the data. To send the data to all attendees, use CONST_ATTENDEE_ID_EVERYONE.
- ChannelSendFlags [in]
-
Type: unsigned long
The channel flags. This parameter can be 0 or the following value.
Return value
Type: HRESULT
If the method succeeds, the return value is S_OK. Otherwise, the return value is an error code.
Requirements
|
Minimum supported client |
Windows Vista [desktop apps | Windows Store apps] |
|---|---|
|
Minimum supported server |
Windows Server 2008 [desktop apps | Windows Store apps] |
|
Header |
|
|
IDL |
|
|
Type library |
|
|
DLL |
|
See also