Compartilhar via


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

Reference

CHeapPtrBase Class

CHeapPtrBase::AllocateBytes

CHeapPtrBase::Free