MF_MEDIA_ENGINE_KEYERR enumeration

Defines media key error codes for the media engine.

Syntax

typedef enum _MF_MEDIA_ENGINE_KEYERR { 
  MF_MEDIAENGINE_KEYERR_UNKNOWN          = 1,
  MF_MEDIAENGINE_KEYERR_CLIENT           = 2,
  MF_MEDIAENGINE_KEYERR_SERVICE          = 3,
  MF_MEDIAENGINE_KEYERR_OUTPUT           = 4,
  MF_MEDIAENGINE_KEYERR_HARDWARECHANGE   = 5,
  MF_MEDIAENGINE_KEYERR_DOMAIN           = 6
} MF_MEDIA_ENGINE_KEYERR;

Constants

MF_MEDIAENGINE_KEYERR_UNKNOWN

Unknown error occurred.

MF_MEDIAENGINE_KEYERR_CLIENT

An error with the client occurred.

MF_MEDIAENGINE_KEYERR_SERVICE

An error with the service occurred.

MF_MEDIAENGINE_KEYERR_OUTPUT

An error with the output occurred.

MF_MEDIAENGINE_KEYERR_HARDWARECHANGE

An error occurred related to a hardware change.

MF_MEDIAENGINE_KEYERR_DOMAIN

An error with the domain occurred.

Remarks

MF_MEDIA_ENGINE_KEYERR is used with the code parameter of IMFMediaKeySessionNotify::KeyError and the code value returned from IMFMediaKeySession::GetError.

Requirements

Requirement Value
Minimum supported client
Windows 8.1 [desktop apps only]
Minimum supported server
Windows Server 2012 R2 [desktop apps only]
IDL
Mfmediaengine.idl

See also

Media Foundation Enumerations