共用方式為


IMediaObjectImpl Class Template

 
Microsoft DirectShow 9.0

IMediaObjectImpl Class Template

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

  Header: Dmoimpl.h
  Library: Dmoguids.lib, Msdmo.lib

See Also