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.
| Symbolic | Code | Description |
|---|---|---|
| DMO_E_INVALIDSTREAMINDEX | 0x80040201 | Invalid stream index. |
| DMO_E_INVALIDTYPE | 0x80040202 | Invalid media type. |
| DMO_E_TYPE_NOT_SET | 0x80040203 | Media type was not set. One or more streams require a media type before this operation can be performed. |
| DMO_E_NOTACCEPTING | 0x80040204 | Data cannot be accepted on this stream. You might need to process more output data; see IMediaObject::ProcessInput . |
| DMO_E_TYPE_NOT_ACCEPTED | 0x80040205 | Media type was not accepted. |
| DMO_E_NO_MORE_ITEMS | 0x80040206 | Media-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.