Microsoft Internet Security and Acceleration Server 2000

IFWXIOBuffer::Append Method

Appends a specified number of bytes to the buffer object.

HRESULT Append(
  void const *pv,
  ULONG cb,
  ULONG *pcbWritten
);

Parameters

pv
[in] Pointer to the buffer which is appended to the buffer object.
cb
[in] The number of bytes of data to attempt to append to the buffer object.
pcbWritten
[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 data was successfully appended to the buffer object.
FWX_E_BUFFERFULL
Not all the data was appended to the buffer object because the buffer is full.

Remarks

This method does not resize the buffer. The pcbWritten parameter is valid even if an FWX_E_BUFFERFULL error is returned.