HeapSize function kernel32
Retrieves the size of a memory block allocated from a heap by the HeapAlloc or HeapReAlloc function.
To learn more, see learn.microsoft.com/windows/win32/api/heapapi/nf-heapapi-heapsize.
Implementation
@pragma('vm:prefer-inline')
int HeapSize(HANDLE hHeap, HEAP_FLAGS dwFlags, Pointer lpMem) =>
_HeapSize(hHeap, dwFlags, lpMem);