Microsoft Internet Security and Acceleration Server 2000

IFWXFirewall::CreateWindowBuffer Method

Creates a buffer object that represents a window inside another buffer.

HRESULT CreateWindowBuffer(
  IFWXIOBuffer *pIOBufferOriginal,
  DWORD dwOffset,
  DWORD dwLength,
  IFWXIOBuffer **pIOBuffer
);

Parameters

pIOBufferOriginal
[in] Pointer to the IFWXIOBuffer interface on the buffer object from which the window should be taken.
dwOffset
[in] Offset in the original buffer of the beginning of the window.
dwLength
[in] Length, in bytes, of the window.
pIOBuffer
[out] Address of a variable that receives a pointer to the IFWXIOBuffer interface.

Remarks

This method allows you to point to a portion of a buffer, so that a portion of it can be sent.