DMO Error Codes

Header: mediaerr.h

[The feature associated with this page, DirectShow, is a legacy feature. It has been superseded by MediaPlayer, IMFMediaEngine, and Audio/Video Capture in Media Foundation. Those features have been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use MediaPlayer, IMFMediaEngine and Audio/Video Capture in Media Foundation instead of DirectShow, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]

The following table contains error codes that are specific to Microsoft DirectX Media Objects (DMOs). These error codes are defined in the header file Mediaerr.h.

SymbolicCodeDescription
DMO_E_INVALIDSTREAMINDEX0x80040201Invalid stream index.
DMO_E_INVALIDTYPE0x80040202Invalid media type.
DMO_E_TYPE_NOT_SET0x80040203Media type was not set. One or more streams require a media type before this operation can be performed.
DMO_E_NOTACCEPTING0x80040204Data cannot be accepted on this stream. You might need to process more output data; see IMediaObject::ProcessInput .
DMO_E_TYPE_NOT_ACCEPTED0x80040205Media type was not accepted.
DMO_E_NO_MORE_ITEMS0x80040206Media-type index is out of range.
6 entries

Article text from the Win32 documentation (opens in a new tab), by Microsoft, under the CC BY 4.0 (opens in a new tab) licence.