CMemFile::GrowFile

void GrowFile( DWORD dwNewLen );

Parameters

dwNewLen

New size of the memory file.

Remarks

This function is called by several of the CMemFile member functions. You can override it if you want to change how CMemFile grows its file. The default implementation calls Realloc to grow an existing block (or Alloc to create a memory block), allocating memory in multiples of the nGrowBytes value specified in the constructor or Attach call.

CMemFile OverviewClass MembersHierarchy Chart

See Also   CMemFile::Alloc, CMemFile::Realloc, CMemFile::CMemFile, CMemFile::Attach