Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
CComHeap Class
Collapse the table of content
Expand the table of content

CComHeap Class

This class implements IAtlMemMgr using the COM memory allocation functions.

class CComHeap : public IAtlMemMgr

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.

See the example for IAtlMemMgr.

Header: ATLComMem.h

Community Additions

ADD
Show:
© 2015 Microsoft