Reference

RtlCreateHeap(3w)

NAME

RtlCreateHeap (NTDLL.@)

SYNOPSIS

HANDLE RtlCreateHeap
(
ULONG flags,
PVOID addr,
SIZE_T totalSize,
SIZE_T commitSize,
PVOID unknown,
PRTL_HEAP_DEFINITION definition
)

DESCRIPTION

Create a new Heap.

PARAMS

flags [In] HEAP_ flags from "winnt.h".

addr [In] Desired base address.

totalSize [In] Total size of the heap, or 0 for a growable heap.

commitSize [In] Amount of heap space to commit.

unknown [In] Not yet understood.

definition [In] Heap definition.

RETURNS

Success: A HANDLE to the newly created heap.

Failure: a NULL HANDLE.

IMPLEMENTATION

Declared in "winternl.h".

Implemented in "dlls/ntdll/heap.c".

Debug channel "heap".

History