MF_FILE_ACCESSMODE enumeration (mfobjects.h)

Specifies the requested access mode for opening a file.

Syntax

typedef enum __MIDL___MIDL_itf_mfobjects_0000_0018_0001 {
  MF_ACCESSMODE_READ = 1,
  MF_ACCESSMODE_WRITE = 2,
  MF_ACCESSMODE_READWRITE = 3
} MF_FILE_ACCESSMODE;

Constants

 
MF_ACCESSMODE_READ
Value: 1
Read mode.
MF_ACCESSMODE_WRITE
Value: 2
Write mode.
MF_ACCESSMODE_READWRITE
Value: 3
Read and write mode.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Header mfobjects.h (include Mfidl.h)

See also

MFBeginCreateFile

MFCreateFile

MFCreateTempFile

Media Foundation Enumerations