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

CWin32Heap Class

This class implements IAtlMemMgr using the Win32 heap allocation functions.

class CWin32Heap : public IAtlMemMgr

Remarks

CWin32Heap implements memory allocation methods using the Win32 heap allocation functions, including HeapAlloc and HeapFree. Unlike other Heap classes, CWin32Heap requires a valid heap handle to be provided before memory is allocated: the other classes default to using the process heap. The handle can be supplied to the constructor or to the CWin32Heap::Attach method. See the CWin32Heap::CWin32Heap method for more details.

Example

See the example for IAtlMemMgr.

Requirements

Header: atlmem.h

See Also

Class Members | ATL Class Overview | IAtlMemMgr | CLocalHeap | CGlobalHeap | CCRTHeap | CComHeap

Show:
© 2015 Microsoft