MF_FILE_ACCESSMODE enumeration

Specifies the requested access mode for opening a file.

Syntax

typedef enum __MIDL___MIDL_itf_mfobjects_0000_0017_0001 {
  MF_ACCESSMODE_READ,
  MF_ACCESSMODE_WRITE,
  MF_ACCESSMODE_READWRITE
} MF_FILE_ACCESSMODE;

Constants

MF_ACCESSMODE_READ Read mode.
MF_ACCESSMODE_WRITE Write mode.
MF_ACCESSMODE_READWRITE Read and write mode.

Requirements

   
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