Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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_LockTypeMaskReserved. | 
| MF2DBuffer_LockFlags_ReadValue: 0x1 Lock the buffer for reading. | 
| MF2DBuffer_LockFlags_WriteValue: 0x2 Lock the buffer for writing. | 
| MF2DBuffer_LockFlags_ReadWriteValue: 0x3 Lock the buffer for both reading and writing. | 
| MF2DBuffer_LockFlags_ForceDWORDValue: 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) |