IWRdsGraphicsChannelEvents::OnDataReceived method (wrdsgraphicschannels.h)

Called when a full message is received from the server.

Syntax

HRESULT OnDataReceived(
  [in] ULONG cbSize,
  [in] BYTE  *pBuffer
);

Parameters

[in] cbSize

The length, in bytes, of the data in pBuffer.

[in] pBuffer

A pointer to a buffer that contains the data that was received. The cbSize parameter contains the length of this buffer.

Return value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Requirement Value
Minimum supported client Windows 8
Minimum supported server Windows Server 2012
Target Platform Windows
Header wrdsgraphicschannels.h

See also

IWRdsGraphicsChannelEvents