Поделиться через


IMultiMediaStream interface (mmstream.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 IMultiMediaStream interface is exposed by the AMMultimediaStream object. It contains methods for enumerating the media streams, retrieving information about them, and running and stopping them.

Inheritance

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

Methods

The IMultiMediaStream interface has these methods.

 
IMultiMediaStream::EnumMediaStreams

Note  This interface is deprecated. New applications should not use it. The EnumMediaStreams method retrieves a media stream object, specified by index.
IMultiMediaStream::GetDuration

Note  This interface is deprecated. New applications should not use it. The GetDuration method retrieves the duration of the multimedia stream.
IMultiMediaStream::GetEndOfStreamEventHandle

Note  This interface is deprecated. New applications should not use it. The GetEndOfStreamEventHandle method retrieves an event that is signaled when the multimedia stream completes playback.
IMultiMediaStream::GetInformation

Note  This interface is deprecated. New applications should not use it. The GetInformation method retrieves the capabilities of the multimedia stream object.
IMultiMediaStream::GetMediaStream

Note  This interface is deprecated. New applications should not use it. The GetMediaStream method retrieves a media stream, specified by purpose ID.
IMultiMediaStream::GetState

Note  This interface is deprecated. New applications should not use it. The GetState method retrieves the current state of the multimedia stream object.
IMultiMediaStream::GetTime

Note  This interface is deprecated. New applications should not use it. The GetTime method retrieves the current stream time.
IMultiMediaStream::Seek

Note  This interface is deprecated. New applications should not use it. The Seek method seeks all of the media streams to a new position.
IMultiMediaStream::SetState

Note  This interface is deprecated. New applications should not use it. The SetState method runs or stops the multimedia stream object.

Requirements

Requirement Value
Target Platform Windows
Header mmstream.h

See also

IAMMultiMediaStream Interface