The SetDataSize method sets the actual size of the memory buffer that was used.
HRESULT SetDataSize( [in] DWORD dwDataSize );
The actual size, in bytes, of the buffer that was used.
The data was successfully appended to the buffer object.
Requested size is larger than the allocated size.
The IFWXIOBuffer::SetDataSize method can be called by a filter after buffer content is manipulated directly by means of IFWXIOBuffer::GetBufferAndSize.
The IFWXIOBuffer::SetDataSize method can also be called by the Microsoft Firewall service, when a buffer is passed to the IFWXSocket::Recv method, to set the number of bytes actually received.
Server | Requires Windows Server 2008. |
---|---|
Version | Requires Forefront Threat Management Gateway (TMG). |
Header |
Declared in Wspfwext.idl. |
DLL |
Requires Wspsrv.exe. |
Send comments about this topic to Microsoft
Build date: 11/30/2009
© 2008 Microsoft Corporation. All rights reserved.