Notifies the user about data that is being received.
The data has the same size and content as a corresponding WTSVirtualChannelWrite() call from the remote side. There is no hard limit on the size of the data that can be sent. All packet reconstruction is handled by the dynamic virtual channel (DVC) framework.
HRESULT OnDataReceived( ULONG cbSize, BYTE *pBuffer );
The size, in bytes, of the buffer to receive the data.
A pointer to a buffer to receive the data. This buffer is valid only until this call is complete.
Returns S_OK on success. Results in no action if the call fails.
|Windows version||Windows Vista Windows Server 2008|