Share via


GetBufferAndSize Method of the IFWXIOBuffer Interface

The GetBufferAndSize method gets the actual data from the memory buffer, and the actual size (not the allocated size) of the buffer.

Syntax

HRESULT GetBufferAndSize(
  [out]  BYTE** ppBuffer,
  [out]  DWORD* pdwSize
);

Parameters

  • ppBuffer
    Address of a variable that receives a pointer to the buffer.

  • pdwSize
    Pointer to a DWORD variable that receives the actual size, in bytes, of the buffer.

Return Value

  • 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.

Requirements

Server Requires Windows Server 2008 R2 or Windows Server 2008 x64 Edition with SP2.
Version Requires Forefront Threat Management Gateway (TMG) 2010.
Header

Declared in Wspfwext.idl.

DLL

Requires Wspsrv.exe.

See Also

IFWXIOBuffer

Send comments about this topic to Microsoft

Build date: 6/30/2010