Microsoft Internet Security and Acceleration Server 2004 SDK |
The CreateConstBuffer method creates a buffer object that wraps a user-supplied memory buffer.
HRESULT CreateConstBuffer( BYTE* pBuffer, DWORD dwBufferLength, IFWXIOBuffer** pIOBuffer );
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.