GetBufferSizes Method of the IFWXIOBuffer Interface

The GetBufferSizes method gets the allocated and actual buffer sizes.

Syntax

HRESULT GetBufferSizes(
  [out]  LPDWORD pdwAllocatedSize,
  [out]  LPDWORD pdwActualSize
);

Parameters

  • pdwAllocatedSize
    Pointer to a variable that receives the allocated buffer size. The allocated size is the maximum number of bytes that the buffer can hold.

  • pdwActualSize
    Pointer to a variable that receives the actual buffer size. The actual buffer size is the number of valid data bytes that the buffer currently holds.

Return Value

  • S_OK
    The method succeeded.

  • E_POINTER
    Null pointer argument.

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