Поделиться через


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( );

Параметры

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

Возвращаемое значение

Returns the size of the allocated memory block in bytes.

Заметки

Implemented using IMalloc::GetSize.

Требования

Header: atlcommem.h

См. также

Основные понятия

CComHeap Class

CComHeap Members