Microsoft Internet Security and Acceleration Server 2004 SDK

IFWXIOBuffer::SendToBuffer

The SendToBuffer method copies 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 the data will be copied.
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 copy to the destination buffer.
pcbCopied
[out] Pointer to a ULONG that on return receives the actual number of bytes copied to the destination 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-process server.
FWX_E_BUFFERFULL
The destination buffer does not have enough room to receive all the data. The pcbCopied parameter will contain the number of bytes that were actually copied.

Requirements

Server: Requires Windows Server 2003 or Windows 2000.
Version: Requires Internet Security and Acceleration Server 2004.
Header: Declared in Wspfwext.idl.

See Also

IFWXIOBuffer