Nota:
El acceso a esta página requiere autorización. Puede intentar iniciar sesión o cambiar directorios.
El acceso a esta página requiere autorización. Puede intentar cambiar los directorios.
This class implements IAtlMemMgr using the COM memory allocation functions.
class CComHeap : public IAtlMemMgr
Remarks
CComHeap implements memory allocation functions using the COM allocation functions, including CoTaskMemAlloc, CoTaskMemFree, IMalloc::GetSize, and CoTaskMemRealloc. The maximum amount of memory that can be allocated is equal to INT_MAX (2147483647) bytes.
Example
See the example for IAtlMemMgr.
Requirements
Header: ATLComMem.h