Compartilhar via


IMediaObjectImpl Class Template (Compact 2013)

3/26/2014

This template provides a base implementation for the IMediaObject interface.

For more information on using this template, see Using the DMO Base Class.

Internal helper class

Description

LockIt

Internal helper class that handles locking and unlocking.

IMediaObjectImpl method

Description

IMediaObjectImpl::CheckTypesSet

Determines whether all of the nonoptional streams have media types.

IMediaObjectImpl::InputType

Retrieves an input stream's media type.

IMediaObjectImpl::InputTypeSet

Queries whether the media type was set on an input stream.

IMediaObjectImpl::OutputType

Retrieves an output stream's media type.

IMediaObjectImpl::OutputTypeSet

Queries whether the media type was set on an output stream.

IMediaObject Methods

Methods that implement the IMediaObject interface.

Derived class method

Description

_DERIVED_::InternalAcceptingInput

Queries whether an input stream can accept more input.

_DERIVED_::InternalCheckInputType

Queries whether an input stream can accept a given media type.

_DERIVED_::InternalCheckOutputType

Queries whether an output stream can accept a given media type.

_DERIVED_::Lock

Locks the object.

_DERIVED_::Unlock

Unlocks the object.

See Also

Reference

DMO Base Class Reference
DirectX Media Objects Reference