Events
May 19, 6 PM - May 23, 12 AM
Calling all developers, creators, and AI innovators to join us in Seattle @Microsoft Build May 19-22.
Register todayThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Defines preload hints for the Media Engine. These values correspond to the preload attribute of the HTMLMediaElement interface in HTML5.
typedef enum MF_MEDIA_ENGINE_PRELOAD {
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_MISSING Value: 0 The preload attribute is missing. |
MF_MEDIA_ENGINE_PRELOAD_EMPTY Value: 1 The preload attribute is an empty string. This value is equivalent to MF_MEDIA_ENGINE_PRELOAD_AUTOMATIC. |
MF_MEDIA_ENGINE_PRELOAD_NONE Value: 2 The preload attribute is "none". This value is a hint to the user agent not to preload the resource. |
MF_MEDIA_ENGINE_PRELOAD_METADATA Value: 3 The preload attribute is "metadata". This value is a hint to the user agent to fetch the resource metadata. |
MF_MEDIA_ENGINE_PRELOAD_AUTOMATIC Value: 4 The preload attribute is "auto". This value is a hint to the user agent to preload the entire resource. |
Requirement | Value |
---|---|
Minimum supported client | Windows 8 [desktop apps | UWP apps] |
Minimum supported server | Windows Server 2012 [desktop apps | UWP apps] |
Header | mfmediaengine.h |
Events
May 19, 6 PM - May 23, 12 AM
Calling all developers, creators, and AI innovators to join us in Seattle @Microsoft Build May 19-22.
Register today