CMemFile::Alloc

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.

At a Glance

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

Syntax

BYTE * Alloc( DWORD nBytes );

See Also

CMemFile::Free, CMemFile::Realloc