Append Method of the IFWXIOBuffer Interface

The Append method appends a specified number of bytes of data to the buffer object.

Syntax

HRESULT Append(
  [in]   void const* pv,
  [in]   ULONG cb,
  [out]  ULONG* pcbWritten
);

Parameters

pv

Pointer to the buffer that is appended to the buffer object.

cb

The number of bytes of data to attempt to append to the data in the buffer object.

pcbWritten

Pointer to a ULONG that on return receives the actual number of bytes appended to the data in the buffer object.

Return Value

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 a FWX_E_BUFFERFULL error is returned.

Requirements

Server Requires Windows Server 2008.
Version Requires Forefront Threat Management Gateway (TMG).
Header

Declared in Wspfwext.idl.

DLL

Requires Wspsrv.exe.

See Also

IFWXIOBuffer


Send comments about this topic to Microsoft

Build date: 11/30/2009

© 2008 Microsoft Corporation. All rights reserved.