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.
VOID FreeIprBuff( _In_ IPRcvBuf *pRcvBuf );
- pRcvBuf [in]
Pointer to an IPRcvBuf structure that contains a pointer to a buffer that represents the memory to be released.
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.
|Ipfirewall.h (include Ipfirewall.h)|