CMemFile::Attach

This method attaches a block of memory to a CMemFile object. This causes the CMemFile object to use the block of memory as the memory file.

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

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

See Also

CMemFile::Detach