CCRTHeap Class

This class implements IAtlMemMgr using the CRT heap functions.

class CCRTHeap : public IAtlMemMgr

Members

Public Methods

Name

Description

CCRTHeap::Allocate

Call this method to allocate a block of memory.

CCRTHeap::Free

Call this method to free a block of memory allocated by this memory manager.

CCRTHeap::GetSize

Call this method to get the allocated size of a memory block allocated by this memory manager.

CCRTHeap::Reallocate

Call this method to reallocate memory allocated by this memory manager.

Remarks

CCRTHeap implements memory allocation functions using the CRT heap functions, including malloc, free, realloc, and _msize.

Example

See the example for IAtlMemMgr.

Inheritance Hierarchy

IAtlMemMgr

CCRTHeap

Requirements

Header: atlmem.h

See Also

Reference

CComHeap Class

CWin32Heap Class

CLocalHeap Class

CGlobalHeap Class

IAtlMemMgr Class

Other Resources

ATL Class Overview