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.
Defines error status codes for the Media Engine.
Syntax
typedef enum MF_MEDIA_ENGINE_ERR {
MF_MEDIA_ENGINE_ERR_NOERROR = 0,
MF_MEDIA_ENGINE_ERR_ABORTED = 1,
MF_MEDIA_ENGINE_ERR_NETWORK = 2,
MF_MEDIA_ENGINE_ERR_DECODE = 3,
MF_MEDIA_ENGINE_ERR_SRC_NOT_SUPPORTED = 4,
MF_MEDIA_ENGINE_ERR_ENCRYPTED = 5
} ;
Constants
MF_MEDIA_ENGINE_ERR_NOERROR Value: 0 No error. |
MF_MEDIA_ENGINE_ERR_ABORTED Value: 1 The process of fetching the media resource was stopped at the user's request. |
MF_MEDIA_ENGINE_ERR_NETWORK Value: 2 A network error occurred while fetching the media resource. |
MF_MEDIA_ENGINE_ERR_DECODE Value: 3 An error occurred while decoding the media resource. |
MF_MEDIA_ENGINE_ERR_SRC_NOT_SUPPORTED Value: 4 The media resource is not supported. |
MF_MEDIA_ENGINE_ERR_ENCRYPTED Value: 5 An error occurred while encrypting the media resource. Supported in Windows 8.1 and later. |
Remarks
The values greater than zero correspond to error codes defined for the MediaError object in HTML5.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 8 [desktop apps | UWP apps] |
Minimum supported server | Windows Server 2012 [desktop apps | UWP apps] |
Header | mfmediaengine.h |