MF_FILE_FLAGS enumeration (mfobjects.h)

Specifies the behavior when opening a file.

Syntax

typedef enum __MIDL___MIDL_itf_mfobjects_0000_0018_0003 {
  MF_FILEFLAGS_NONE = 0,
  MF_FILEFLAGS_NOBUFFERING = 0x1,
  MF_FILEFLAGS_ALLOW_WRITE_SHARING = 0x2
} MF_FILE_FLAGS;

Constants

 
MF_FILEFLAGS_NONE
Value: 0
Use the default behavior.
MF_FILEFLAGS_NOBUFFERING
Value: 0x1
Open the file with no system caching.
MF_FILEFLAGS_ALLOW_WRITE_SHARING
Value: 0x2
Subsequent open operations can have write access to the file.



Note  Requires Windows 7 or later.

 

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