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.
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 |
void Attach( BYTE* lpBuffer, UINT nBufferSize, UINT nGrowBytes = 0 );