CGlobalHeap::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 GlobalSize.

Requirements

Header: atlmem.h

See Also

Concepts

CGlobalHeap Class

CGlobalHeap Members