次の方法で共有


IAMMultiMediaStream interface (amstream.h)

[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.]

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.

Inheritance

The IAMMultiMediaStream interface inherits from IMultiMediaStream. IAMMultiMediaStream also has these types of members:

Methods

The IAMMultiMediaStream interface has these methods.

 
IAMMultiMediaStream::AddMediaStream

Note  This interface is deprecated. New applications should not use it. The AddMediaStream method adds a new media stream to the filter graph.
IAMMultiMediaStream::GetFilter

Note  This interface is deprecated. New applications should not use it. The GetFilter method retrieves the Media Stream filter, which is used internally by the multimedia stream object.
IAMMultiMediaStream::GetFilterGraph

Note  This interface is deprecated. New applications should not use it. The GetFilterGraph method retrieves the Filter Graph Manager that is managed by the multimedia stream object.
IAMMultiMediaStream::Initialize

Note  This interface is deprecated. New applications should not use it. The Initialize method initializes the multimedia stream object.
IAMMultiMediaStream::OpenFile

Note  This interface is deprecated. New applications should not use it. The OpenFile method opens and automatically creates a filter graph for the specified media file. If DirectShow doesn't support the file format, this method does nothing.
IAMMultiMediaStream::OpenMoniker

Note  This interface is deprecated. New applications should not use it. The OpenMoniker method opens a file or device moniker; you can read media data from this moniker if DirectShow supports the moniker.
IAMMultiMediaStream::Render

Note  This interface is deprecated. New applications should not use it. The Render method renders the current filter graph.

Requirements

Requirement Value
Target Platform Windows
Header amstream.h

See also

IMultiMediaStream