DMO Error Codes
[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.
Constant/value | Description |
---|---|
|
Invalid stream index. |
|
Invalid media type. |
|
Media type was not set. One or more streams require a media type before this operation can be performed. |
|
Data cannot be accepted on this stream. You might need to process more output data; see IMediaObject::ProcessInput. |
|
Media type was not accepted. |
|
Media-type index is out of range. |
Requirements
Requirement | Value |
---|---|
Header |
|