IFWXIOBuffer::Append method

Applies to: desktop apps only

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 [in]
    Pointer to the buffer that is appended to the buffer object.

  • cb [in]
    The number of bytes of data to attempt to append to the data in the buffer object.

  • pcbWritten [out]
    Pointer to a ULONG that on return receives the actual number of bytes appended to the data in the buffer object.

Return value

This method can return one of these 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 a FWX_E_BUFFERFULL error is returned.

Requirements

Minimum supported client

None supported

Minimum supported server

Windows Server 2008 R2, Windows Server 2008 with SP2 (64-bit only)

Version

Forefront Threat Management Gateway (TMG) 2010

Header

Wspfwext.idl

DLL

Wspsrv.exe

See also

IFWXIOBuffer

 

 

Build date: 7/12/2010