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


IMultiMediaStream Interface (Windows Embedded CE 6.0)

1/6/2010

This interface provides methods that control a multimedia stream and provide access to its underlying media streams.

A multimedia stream is the highest-level streaming object and can contain one or more media streams.

Although each media stream is media-type specific (audio, video, and so on), multimedia streams are generic across all types because they must provide access to a number of streams that can have different media types.

The IMultiMediaStream interface methods enable you to enumerate and retrieve pointers to the specific streams; the IMediaStream interface methods provide specific control over the media stream behavior.

Implement this interface when you want to create containers for a specific type of media stream.

Use this interface when your application must enumerate and control a multimedia stream's underlying, type-specific streams.

Methods in Vtable Order

The following table shows the methods that appear in the Vtable beneath the standard COM methods inherited from IUnknown.

Method Description

GetInformation

Retrieves the capabilities and stream type of a multimedia stream.

GetMediaStream

Retrieves a media stream that has the specified purpose ID.

EnumMediaStreams

Retrieves a media stream from a multimedia stream by zero-based index.

GetState

Retrieves the multimedia stream's current state.

SetState

Sets the media stream to either a running or stopped state.

GetTime

Retrieves the current time from the multimedia stream's clock, if it has a clock.

GetDuration

Retrieves the media stream's duration.

Seek

Sets the seek location of all derived media streams to the specified time.

GetEndOfStreamEventHandle

Retrieves the handle for the event triggered when the stream completes playback.

Requirements

Windows Embedded CE Windows CE 2.12 and later
Note Microsoft DirectShow applications and DirectShow filters have different include file and Library requirements
For more information, see Setting Up the Build Environment

See Also

Reference

DirectShow Interfaces