FreeIprBuff function
Do not write a firewall-hook driver to process incoming and outgoing packets. For more information, see Firewall-Hook Drivers.
The FreeIprBuff releases memory for the buffer of a single descriptor.
Syntax
VOID FreeIprBuff(
_In_ IPRcvBuf *pRcvBuf
);
Parameters
- pRcvBuf [in]
Pointer to an IPRcvBuf structure that contains a pointer to a buffer that represents the memory to be released.
Return value
None
Remarks
If a firewall-hook driver previously called the IPAllocBuff function to allocate memory for a buffer that is contained in a buffer descriptor, the firewall-hook driver should call FreeIprBuff to release the memory for that buffer.
Requirements
Target platform |
Desktop |
Header |
Ipfirewall.h (include Ipfirewall.h) |
Library |
Tcpip.lib |
See also