CHeapPtrBase::ReallocateBytes

Call this method to reallocate memory.

bool ReallocateBytes(
   size_t nBytes 
) throw( );

Parameters

  • nBytes
    The new amount of memory to allocate, in bytes.

Return Value

Returns true if the memory is successfully allocated, false otherwise.

Requirements

Header: atlcoll.h

See Also

Concepts

CHeapPtrBase Class

CHeapPtrBase Members

CHeapPtrBase::AllocateBytes

CHeapPtrBase::Free