Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

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

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.