Microsoft Internet Security and Acceleration Server 2000

IFWXFirewall::CreateBuffer Method

Allocates a buffer object of the given size.

HRESULT CreateBuffer(
  DWORD dwBufferLength,
  IFWXIOBuffer **pIOBuffer


[in] Number of bytes to allocate.
[out] Address of a variable that receives a pointer to the IFWXIOBuffer interface.


Use to create an empty buffer for data that is not constant. To create a buffer for data that is constant, use the IFWXFirewall::CreateConstBuffer method.

Filters are not required to use this method. A filter may provide its own buffer objects as long as they support the IFWXIOBuffer interface.

See Also

IFWXFirewall::CreateConstBuffer, IFWXFirewall::CreateWindowBuffer.