MF_MEDIA_ENGINE_KEYERR enumeration (mfmediaengine.h)

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
Value: 1
Unknown error occurred.
MF_MEDIAENGINE_KEYERR_CLIENT
Value: 2
An error with the client occurred.
MF_MEDIAENGINE_KEYERR_SERVICE
Value: 3
An error with the service occurred.
MF_MEDIAENGINE_KEYERR_OUTPUT
Value: 4
An error with the output occurred.
MF_MEDIAENGINE_KEYERR_HARDWARECHANGE
Value: 5
An error occurred related to a hardware change.
MF_MEDIAENGINE_KEYERR_DOMAIN
Value: 6
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]
Header mfmediaengine.h

See also

Media Foundation Enumerations