The CreateBuffer method creates (allocates) a buffer object of the given size.
HRESULT CreateBuffer( [in] DWORD dwBufferLength, [out] IFWXIOBuffer** pIOBuffer );
Number of bytes to allocate.
Address of a variable that receives a pointer to the IFWXIOBuffer interface.
This method returns S_OK if the call is successful; otherwise, it returns an error code.
Use the CreateBuffer method 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.
Server | Requires Windows Server 2008. |
---|---|
Version | Requires Forefront Threat Management Gateway (TMG). |
Header |
Declared in Wspfwext.idl. |
DLL |
Requires Wspsrv.exe. |
IFWXFirewall
IFWXFirewall::CreateConstBuffer
IFWXFirewall::CreateWindowBuffer
Send comments about this topic to Microsoft
Build date: 11/30/2009
© 2008 Microsoft Corporation. All rights reserved.