2OOO, 14 December
NTSYSAPI ULONG NTAPI RtlSizeHeap( IN PVOID HeapHandle, IN ULONG Flags, IN PVOID MemoryPointer );
Kernel32.dll HeapSize maps directly to RtlSizeHeap. See Ms SDK for definition.