Expand Minimize

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 | Windows Store apps]

Minimum supported server

Windows Server 2012 [desktop apps | Windows Store apps]

Header

Mfmediaengine.h

See also

IMFMediaError::GetErrorCode

 

 

Community Additions

ADD
Show:
© 2014 Microsoft