CLocalHeap::GetSize

Call this method to get the allocated size of a memory block allocated by this memory manager.

virtual size_t GetSize( 
   void* p  
) throw( );

Parameters

  • p
    Pointer to memory previously allocated by this memory manager.

Return Value

Returns the size of the allocated memory block in bytes.

Remarks

Implemented using LocalSize.

Requirements

Header: atlmem.h

See Also

Reference

CLocalHeap Class