Поделиться через


CMemFile::GrowFile

This function is called by several of the CMemFile member functions.

virtual void GrowFile(
   SIZE_T dwNewLen 
);

Параметры

  • dwNewLen
    New size of the memory file.

Заметки

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.

Требования

Header: afx.h

См. также

Основные понятия

CMemFile Class

CMemFile Members

Hierarchy Chart

CMemFile::Alloc

CMemFile::Realloc

CMemFile::CMemFile

CMemFile::Attach