_MFP_MEDIAITEM_CHARACTERISTICS enumeration (mfplay.h)
Important Deprecated. This API may be removed from future releases of Windows. Applications should use the Media Session for playback.
Contains flags that describe a media item.
Syntax
typedef enum _MFP_MEDIAITEM_CHARACTERISTICS {
MFP_MEDIAITEM_IS_LIVE = 0x1,
MFP_MEDIAITEM_CAN_SEEK = 0x2,
MFP_MEDIAITEM_CAN_PAUSE = 0x4,
MFP_MEDIAITEM_HAS_SLOW_SEEK = 0x8
} ;
Constants
MFP_MEDIAITEM_IS_LIVEValue: 0x1 The media item represents a live data source, such as video camera. If playback is stopped and then restarted, there will be a gap in the content. |
MFP_MEDIAITEM_CAN_SEEKValue: 0x2 The media item supports seeking. If this flag is absent, the IMFPMediaPlayer::SetPosition method will fail. |
MFP_MEDIAITEM_CAN_PAUSEValue: 0x4 The media item can pause. If this flag is absent, the IMFPMediaPlayer::Pause method will likely fail. |
MFP_MEDIAITEM_HAS_SLOW_SEEKValue: 0x8 Seeking can take a long time. For example, the source might download content through HTTP. |
Remarks
The following typedef is defined for combining flags from this enumeration.
typedef UINT32 MFP_MEDIAITEM_CHARACTERISTICS;
Requirements
| Minimum supported client | Windows 7 [desktop apps only] |
| Minimum supported server | Windows Server 2008 R2 [desktop apps only] |
| Header | mfplay.h |