共用方式為


IAMMultiMediaStream Interface

 
Microsoft DirectShow 9.0

IAMMultiMediaStream Interface

  • Note   This interface is deprecated. New applications should not use it.

The IAMMultiMediaStream interface is supported by the multimedia stream object. It contains methods for creating the underlying filter graph that the object manages.

In addition to the methods inherited from IMultiMediaStream, the IAMMultiMediaStream interface exposes the following methods.

Method Description
AddMediaStream Adds the specified media stream to the current filter graph.
GetFilter Retrieves the specified filter from the current filter graph.
GetFilterGraph Retrieves the associated filter graph's IGraphBuilder interface.
Initialize Sets the stream type. If the pFilterGraph parameter is non-NULL the filter graph passed in is used for the stream.
OpenFile Opens and automatically creates a filter graph for the specified media file. If DirectShow doesn't support the file format, this method does nothing.
OpenMoniker Opens a file or device moniker; you can read media data from this moniker if DirectShow supports the media type.
Render Renders the current filter graph.