CMemFile::Alloc

This member function is called by CMemFile member functions. Override this function to implement custom memory allocation. If you override this function, you will probably also want to override Free and Realloc.

Syntax

BYTE * Alloc( DWORD nBytes );

At a Glance

Header file: Afx.h
Platforms:
Versions: 2.0 and later
Complete documentation Visual C++ documentation

See Also

CMemFile Overview, CMemFile Member Functions, File Service Classes, CMemFile::Free, CMemFile::Realloc