Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

MF_MEDIA_ENGINE_ERR enumeration

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
} MF_MEDIA_ENGINE_ERR;

Constants

MF_MEDIA_ENGINE_ERR_NOERROR

No error.

MF_MEDIA_ENGINE_ERR_ABORTED

The process of fetching the media resource was stopped at the user's request.

MF_MEDIA_ENGINE_ERR_NETWORK

A network error occurred while fetching the media resource.

MF_MEDIA_ENGINE_ERR_DECODE

An error occurred while decoding the media resource.

MF_MEDIA_ENGINE_ERR_SRC_NOT_SUPPORTED

The media resource is not supported.

MF_MEDIA_ENGINE_ERR_ENCRYPTED

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

Minimum supported client

Windows 8 [desktop apps | UWP apps]

Minimum supported server

Windows Server 2012 [desktop apps | UWP apps]

Header

Mfmediaengine.h

See also

Media Foundation Enumerations
IMFMediaError::GetErrorCode

 

 

Show:
© 2018 Microsoft