PVOID
ExFreeToZone(
PZONE_HEADER Zone,
PVOID Block
);
ExFreeToZone puts a given block of storage back in the free list for a given zone.
ExFreeToZone returns a pointer to the previous block of storage that was at the head of the free list. NULL implies that the zone went from no available free blocks to at least one free block.
Callers of ExFreeToZone must be running at IRQL <= DISPATCH_LEVEL.
This routine is a reciprocal to ExAllocateFromZone.