CMemFile::CMemFile

This constructor constructs a memory file object. The first implementation opens an empty memory file. The second overloaded implementation opens the memory file and attaches a block of memory to it.

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

CMemFile( UINT nGrowBytes = 1024 );

CMemFile( BYTE* lpBuffer, UINT nBufferSize, UINT nGrowBytes = 0 );

See Also

CMemFile::Attach