Scroll to navigation

RtlAllocateHeap(3w) Wine API RtlAllocateHeap(3w)

NAME

RtlAllocateHeap (NTDLL.@)

SYNOPSIS

PVOID RtlAllocateHeap
(
HANDLE heap,
ULONG flags,
SIZE_T size
)
 

DESCRIPTION

Allocate a memory block from a Heap.
 

PARAMS

heap [In] Heap to allocate block from.
flags [In] HEAP_ flags from "winnt.h".
size [In] Size of the memory block to allocate.
 

RETURNS

Success: A pointer to the newly allocated block
Failure: NULL.
 

NOTES

This call does not SetLastError(3w).
 

IMPLEMENTATION

Declared in "winternl.h".
Implemented in "dlls/ntdll/heap.c".
Debug channel "heap".
Oct 2012 Wine API