RtlSizeHeap(3w)

NAME

RtlSizeHeap (NTDLL.@)

SYNOPSIS

SIZE_T RtlSizeHeap
 (
  HANDLE      heap,
  ULONG       flags,
  const void* ptr
 )

DESCRIPTION

Get the actual size of a memory block allocated from a Heap.

PARAMS

heap [In] Heap that block was allocated from.

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

ptr [In] Block to get the size of.

RETURNS

Success: The size of the block.

Failure: -1, heap or pointer are invalid.

NOTES

The size may be bigger than what was passed to RtlAllocateHeap(3w).

IMPLEMENTATION

Defined in "winternl.h".

Implemented in "build/buildd-wine-unstable_1.1.32-1+b1-amd64-KnxYu0/wine-unstable-1.1.32/build32/dlls/ntdll/heap.c".

Debug channel "heap".
Copyright © 2010-2025 Platon Technologies, s.r.o.           Home | Man pages | tLDP | Documents | Utilities | About
Design by styleshout