This topic has not yet been rated - Rate this topic

CCRTHeap Class

This class implements IAtlMemMgr using the CRT heap functions.

class CCRTHeap : public IAtlMemMgr

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.

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

See the example for IAtlMemMgr.

IAtlMemMgr

CCRTHeap

Header: atlmem.h

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.