RtlFreeHeap - NtDoc

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

_Success_(return != 0)
NTSYSAPI
LOGICAL
NTAPI
RtlFreeHeap(
    _In_ PVOID HeapHandle,
    _In_opt_ ULONG Flags,
    _Frees_ptr_opt_ _Post_invalid_ PVOID BaseAddress
    );

#endif
#endif

View code on GitHub
#ifndef _NTRTL_H
#if (PHNT_VERSION >= PHNT_WIN8)
// ...
#else

_Success_(return)
NTSYSAPI
BOOLEAN
NTAPI
RtlFreeHeap(
    _In_ PVOID HeapHandle,
    _In_opt_ ULONG Flags,
    _Frees_ptr_opt_ PVOID BaseAddress
    );

#endif
#endif

View code on GitHub

This function is documented in Windows Driver Kit.


Maps directly to Win32 API HeapFree from Kernel32.dll.

Documented by

See also