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.
void Attach( BYTE* lpBuffer, UINT nBufferSize, UINT nGrowBytes = 0 );
Header file: | Afx.h |
Platforms: | |
Versions: | 2.0 and later |
Complete documentation | Visual C++ documentation |
CMemFile Overview, CMemFile Member Functions, File Service Classes, CMemFile::Detach