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