Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
CComAllocator Class
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.

Header: atlbase.h

Show:
© 2015 Microsoft