Reference

RtlReAllocateHeap(3w)

NAME

RtlReAllocateHeap (NTDLL.@)

SYNOPSIS

PVOID RtlReAllocateHeap
(
HANDLE heap,
ULONG flags,
PVOID ptr,
SIZE_T size
)

DESCRIPTION

Change the size of a memory block allocated with RtlAllocateHeap(3w).

PARAMS

heap [In] Heap that block was allocated from.

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

ptr [In] Block to resize.

size [In] Size of the memory block to allocate.

RETURNS

Success: A pointer to the resized block (which may be different).

Failure: NULL.

IMPLEMENTATION

Declared in "winternl.h".

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

Debug channel "heap".

History