Partager via


CCRTHeap::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 _msize.

Requirements

Header: atlmem.h

See Also

Reference

CCRTHeap Class

Other Resources

CCRTHeap Members