Microsoft Internet Security and Acceleration Server 2000

IFWXIOBuffer::SendToBuffer Method

Appends a specified number of bytes starting at a specified offset from the beginning of the buffer to the given destination buffer.

HRESULT SendToBuffer(
  IFWXIOBuffer *pDestinationBuffer,
  ULONG ulOffset,
  ULONG cb,
  ULONG *pcbCopied
);

Parameters

pDestinationBuffer
[in] Buffer to which data will be appended.
ulOffset
[in] Specifies the starting point from the beginning of the buffer for reading data.
cb
[in] Specifies the number of bytes to attempt to append to the destination buffer.
pcbCopied
[out] Address of a ULONG variable where this method writes the actual number of bytes appended to the buffer object.

Return Values

S_OK
The method succeeded.
E_NOTIMPL
Returned if the client and server are not in the same apartment. This may happen if the filter is not an in-proc server.