CComAllocator Class
TOC
Collapse the table of content
Expand the table of content

CComAllocator Class

 

This class provides methods for managing memory using COM memory routines.


class CComAllocator

Name

Description

CComAllocator::Allocate

Call this static method to allocate memory.

CComAllocator::Free

Call this static method to free allocated memory.

CComAllocator::Reallocate

Call this static method to reallocate memory.

This class is used by CComHeapPtr to provide the COM memory allocation routines. The counterpart class, CCRTAllocator, provides the same methods using CRT routines.

Requirements

Header: atlbase.h

Show:
© 2016 Microsoft