IMediaObjectImpl Class Template
[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 IMediaObjectImpl
class template provides a base implementation for the IMediaObject interface. For more information on using this template, see Using the DMO Class Template.
This IMediaObjectImpl
template exposes the following members.
Nested Class | Description |
---|---|
LockIt | Helper class that locks and unlocks the DMO. |
Method | Description |
---|---|
CheckTypesSet | Determines whether all of the non-optional streams have media types. |
InputType | Retrieves the current media type for a specified input stream. |
InputTypeSet | Queries whether the media type was set on an input stream. |
InternalAcceptingInput | Queries whether an input stream can accept more input. |
InternalCheckInputType | Queries whether an input stream can accept a given media type. |
InternalCheckOutputType | Queries whether an output stream can accept a given media type. |
Lock | Locks the DMO |
OutputType | Retrieves the current media type for a specified output stream. |
OutputTypeSet | Queries whether the media type was set on an output stream. |
Unlock | Unlocks the DMO |
Requirements
Requirement | Value |
---|---|
Header |
|
Library |
|
See also