Microsoft Internet Security and Acceleration Server 2000

IFWXFirewall::CreateConstBuffer Method

Creates a buffer object that wraps the given data.

HRESULT CreateConstBuffer(
  BYTE *pBuffer,
  DWORD dwBufferLength,
  IFWXIOBuffer **pIOBuffer
);

Parameters

pBuffer
[in] Pointer to the data buffer.
dwBufferLength
[in] Length, in bytes, of the buffer pointed to by pBuffer.
pIOBuffer
[out] Address of a variable that receives a pointer to the IFWXIOBuffer interface.

Remarks

Use only when the data is known to be a constant and the buffer memory does not have to be freed. To create a buffer for data that is not constant, use the IFWXFirewall::CreateBuffer method.