RTL_HEAP_COMMIT_ROUTINE - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
#ifndef _NTRTL_H

//
// Heap parameters.
//

typedef _Function_class_(RTL_HEAP_COMMIT_ROUTINE)
NTSTATUS NTAPI RTL_HEAP_COMMIT_ROUTINE(
    _In_ PVOID Base,
    _Inout_ PVOID* CommitAddress,
    _Inout_ PSIZE_T CommitSize
    );

#endif

View code on GitHub
// ntifs.h

RTL_HEAP_COMMIT_ROUTINE RtlHeapCommitRoutine;

NTSTATUS RtlHeapCommitRoutine(
  PVOID Base,
  PVOID *CommitAddress,
  PSIZE_T CommitSize
)
{...}
View the official Windows Driver Kit DDI reference

NtDoc

This callback function is documented in Windows Driver Kit.

Windows Driver Kit DDI reference (nc-ntifs-rtl_heap_commit_routine)

Description

A RTL_HEAP_COMMIT_ROUTINE callback routine commits pages from the heap.

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.

See also

RtlCreateHeap

RTL_HEAP_PARAMETERS