RtlSizeHeap (NTDLL.@)
SIZE_T RtlSizeHeap ( HANDLE heap, ULONG flags, PVOID ptr )
Get the actual size of a memory block allocated from a Heap.
heap | [In] | Heap that block was allocated from. |
flags | [In] | HEAP_ flags from "winnt.h". |
ptr | [In] | Block to get the size of. |
Success: The size of the block.
Failure: -1, heap or pointer are invalid.
The size may be bigger than what was passed to RtlAllocateHeap.
Defined in "winternl.h".
Implemented in "dlls/ntdll/heap.c". source.winehq.org/source/dlls/ntdll/heap.c
Debug channel "heap".
Copyright © 2007 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Mar 2007.