MF2DBuffer_LockFlags enumeration (mfobjects.h)

Contains flags for the IMF2DBuffer2::Lock2DSize method.

Syntax

typedef enum _MF2DBuffer_LockFlags {
  MF2DBuffer_LockFlags_LockTypeMask,
  MF2DBuffer_LockFlags_Read = 0x1,
  MF2DBuffer_LockFlags_Write = 0x2,
  MF2DBuffer_LockFlags_ReadWrite = 0x3,
  MF2DBuffer_LockFlags_ForceDWORD = 0x7fffffff
} MF2DBuffer_LockFlags;

Constants

 
MF2DBuffer_LockFlags_LockTypeMask
Reserved.
MF2DBuffer_LockFlags_Read
Value: 0x1
Lock the buffer for reading.
MF2DBuffer_LockFlags_Write
Value: 0x2
Lock the buffer for writing.
MF2DBuffer_LockFlags_ReadWrite
Value: 0x3
Lock the buffer for both reading and writing.
MF2DBuffer_LockFlags_ForceDWORD
Value: 0x7fffffff
Reserved. This member forces the enumeration type to compile as a DWORD value.

Requirements

Requirement Value
Minimum supported client Windows 8 [desktop apps | UWP apps]
Minimum supported server Windows Server 2012 [desktop apps | UWP apps]
Header mfobjects.h (include Mfobjects.h, Mfidl.h)

See also

Media Foundation Enumerations