다음을 통해 공유


CComHeap::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 IMalloc::GetSize.

Requirements

Header: atlcommem.h

See Also

Reference

CComHeap Class