CMemFile::Attach

Call this member function to attach a block of memory to a CMemFile object. This causes the CMemFile object to use the block of memory as the memory file.

Syntax

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

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::Detach