RTL_HEAP_COMMIT_ROUTINE callback function (ntifs.h)
A RTL_HEAP_COMMIT_ROUTINE callback routine commits pages from the heap.
Syntax
RTL_HEAP_COMMIT_ROUTINE RtlHeapCommitRoutine;
NTSTATUS RtlHeapCommitRoutine(
PVOID Base,
PVOID *CommitAddress,
PSIZE_T CommitSize
)
{...}
Parameters
Base
Base address for the block of caller-allocated memory being used for the heap.
CommitAddress
Pointer to a variable that will receive the base address of the committed region of pages.
CommitSize
Pointer to a variable that will receive the actual size, in bytes, of the allocated region of pages.
Return value
RTL_HEAP_COMMIT_ROUTINE returns STATUS_SUCCESS or an appropriate error status.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows XP |
Header | ntifs.h |