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