| title | BufferCommand enumeration | |
|---|---|---|
| description | Describes the BufferCommand enum, which is used to work with memory files via CMemFile::GetBufferPtr() | |
| ms.date | 07/23/2020 | |
| f1_keywords |
|
|
| helpviewer_keywords |
|
Note
The Microsoft Foundation Classes (MFC) library continues to be supported. However, we're no longer adding features or updating the documentation.
Used by CMemFile::GetBufferPtr to determine what action to take on the file-backed memory buffer.
public enum BufferCommand
{
bufferRead,
bufferWrite,
bufferCommit,
bufferCheck
};| Name | Description |
|---|---|
bufferRead |
Read the file-backed memory buffer. |
bufferWrite |
Write to the file-backed memory buffer. |
bufferCommit |
Advances the current position in the file-backed memory buffer to the end of the committed buffer. |
bufferCheck |
Determine whether the file-backed memory buffer can grow in size. |
Header: afxwinforms.h (defined in assembly atlmfc\lib\mfcmifc80.dll)