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.
BYTE * Alloc( DWORD nBytes );
Header file: | Afx.h |
Platforms: | |
Versions: | 2.0 and later |
Complete documentation | Visual C++ documentation |
CMemFile Overview, CMemFile Member Functions, File Service Classes, CMemFile::Free, CMemFile::Realloc