Chỉnh sửa

Chia sẻ qua


BufferCommand enumeration

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.

Syntax

public enum BufferCommand
{
   bufferRead,
   bufferWrite,
   bufferCommit,
   bufferCheck
};

Members

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.

Requirements

Header: afxwinforms.h (defined in assembly atlmfc\lib\mfcmifc80.dll)