This method is called by CMemFile methods. Override this method to implement custom memory allocation. If you override this method, you will probably also want to override Free and Realloc.
Header file: | Afx.h |
Platforms: | H/PC 2.0, Palm-size PC, H/PC Pro |
Windows CE versions: | 2.0 and later |
Complete documentation | Visual C++ documentation |
BYTE * Alloc( DWORD nBytes );
CMemFile::Free, CMemFile::Realloc