This header is used by System Services. For more information, see:
heapapi.h contains the following programming interfaces:
Retrieves a handle to the default heap of the calling process.
Returns the number of active heaps and retrieves handles to all of the active heaps for the calling process.
Allocates a block of memory from a heap. The allocated memory is not movable.
Returns the size of the largest committed free block in the specified heap. If the Disable heap coalesce on free global flag is set, this function also coalesces adjacent free blocks of memory in the heap.
Creates a private heap object that can be used by the calling process. The function reserves space in the virtual address space of the process and allocates physical storage for a specified initial portion of this block.
Destroys the specified heap object. It decommits and releases all the pages of a private heap object, and it invalidates the handle to the heap.
Frees a memory block allocated from a heap by the HeapAlloc or HeapReAlloc function.
Attempts to acquire the critical section object, or lock, that is associated with a specified heap.
Retrieves information about the specified heap.
Reallocates a block of memory from a heap. This function enables you to resize a memory block and change other memory block properties.
Enables features for a specified heap.
Retrieves the size of a memory block allocated from a heap by the HeapAlloc or HeapReAlloc function.
The HeapSummary function (heapapi.h) summarizes the specified heap.
Releases ownership of the critical section object, or lock, that is associated with a specified heap.
Validates the specified heap. The function scans all the memory blocks in the heap and verifies that the heap control structures maintained by the heap manager are in a consistent state.
Enumerates the memory blocks in the specified heap.
The HEAP_SUMMARY structure (heapapi.h) represents a heap summary retrieved with a call to the HeapSummary function.