Bagikan melalui


IAtlMemMgr::GetSize

Call this method to retrieve the size of an allocated memory block.

size_t GetSize( 
   void* p  
) throw( );

Parameters

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

Return Value

Returns the size of the memory block in bytes.

Example

For an example, see the IAtlMemMgr Overview.

Requirements

Header: atlmem.h

See Also

Reference

IAtlMemMgr Class