MF_MEDIA_ENGINE_PRELOAD enumeration
Defines preload hints for the Media Engine. These values correspond to the preload attribute of the HTMLMediaElement interface in HTML5.
Syntax
typedef enum { MF_MEDIA_ENGINE_PRELOAD_MISSING = 0, MF_MEDIA_ENGINE_PRELOAD_EMPTY = 1, MF_MEDIA_ENGINE_PRELOAD_NONE = 2, MF_MEDIA_ENGINE_PRELOAD_METADATA = 3, MF_MEDIA_ENGINE_PRELOAD_AUTOMATIC = 4 } MF_MEDIA_ENGINE_PRELOAD;
Constants
- MF_MEDIA_ENGINE_PRELOAD_MISSING
-
The preload attribute is missing.
- MF_MEDIA_ENGINE_PRELOAD_EMPTY
-
The preload attribute is an empty string. This value is equivalent to MF_MEDIA_ENGINE_PRELOAD_AUTOMATIC.
- MF_MEDIA_ENGINE_PRELOAD_NONE
-
The preload attribute is "none". This value is a hint to the user agent not to preload the resource.
- MF_MEDIA_ENGINE_PRELOAD_METADATA
-
The preload attribute is "metadata". This value is a hint to the user agent to fetch the resource metadata.
- MF_MEDIA_ENGINE_PRELOAD_AUTOMATIC
-
The preload attribute is "auto". This value is a hint to the user agent to preload the entire resource.
Requirements
|
Minimum supported client |
Windows 8 [desktop apps | Windows Store apps] |
|---|---|
|
Minimum supported server |
Windows Server 2012 [desktop apps | Windows Store apps] |
|
Header |
|
See also