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_NOERRORValue: 0 No error. |
MF_MEDIA_ENGINE_ERR_ABORTEDValue: 1 The process of fetching the media resource was stopped at the user's request. |
MF_MEDIA_ENGINE_ERR_NETWORKValue: 2 A network error occurred while fetching the media resource. |
MF_MEDIA_ENGINE_ERR_DECODEValue: 3 An error occurred while decoding the media resource. |
MF_MEDIA_ENGINE_ERR_SRC_NOT_SUPPORTEDValue: 4 The media resource is not supported. |
MF_MEDIA_ENGINE_ERR_ENCRYPTEDValue: 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 |