Share via


OnChannelDataSent event

Called when data is sent to the client.

Syntax

void OnChannelDataSent(
  [in] IUnknown *pChannel,
  [in] long     lAttendeeId,
  [in] long     BytesSent
);

Parameters

pChannel [in]

Channel that sent the data.

lAttendeeId [in]

Identifies the attendee who is sending the data. To get the attendee, use the identifier when accessing the Item Property of IRDPSRAPIAttendeeManager.

BytesSent [in]

Size, in bytes, of the channel data.

Return value

This event does not return a value.

Remarks

Applications use this notification to determine when to send data to the clients. After a call to IRDPSRAPIVirtualChannel::SendData fails with E_PENDING, applications should stop sending data until they receive this notification.

Requirements

Minimum supported client
Windows Vista [desktop apps | UWP apps]
Minimum supported server
Windows Server 2008 [desktop apps | UWP apps]
Header
RdpEncomAPI.h
IDL
RdpEncomAPI.idl
Type library
RdpEncomAPI.tlb
DLL
RdpEncom.dll

See also

_IRDPSessionEvents