https://learn.microsoft.com/en-us/windows-hardware/drivers/ddi/ntifs/nf-ntifs-rtldestroyheap
RtlDestroyHeap function (ntifs.h) - Windows drivers | Microsoft Learn
The RtlDestroyHeap routine destroys the specified heap object. RtlDestroyHeap decommits and releases all the pages of a private heap object, and it invalidates...
windows driversfunctionhmicrosoftlearn