Multimedia Streaming Interfaces

[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

These APIs are deprecated. Applications should use the Sample Grabber filter or implement a custom filter to get data from a DirectShow filter graph.

 

This section contains reference entries for all the multimedia streaming interfaces and their methods, including those that Microsoft DirectShow supports.

Interface Description
IAMMediaStream Handles the internal connections between DirectShow filters and filter graphs in applications that use multimedia streaming.
IAMMediaTypeSample Contains methods for manipulating stream samples with arbitrary media types.
IAMMediaTypeStream Contains methods for creating multimedia streams with arbitrary media types.
IAMMultiMediaStream Exposes DirectShow functionality to multimedia stream developers.
IAudioData Provides methods that enable applications to set and get the underlying audio data that audio streams will reference.
IAudioMediaStream Controls audio media streams by providing methods that set and get the stream's format.
IAudioStreamSample Retrieves information from the underlying IAudioData data objects.
IDirectDrawMediaStream Controls media streams that appear on Microsoft® DirectDraw® surfaces.
IDirectDrawStreamSample Provides methods that set and retrieve pointers to the DirectDraw surface associated with the current stream sample.
IMediaStream Provides access to the characteristics of a media stream, such as the stream's media type and purpose ID. It also has methods that create data samples.
IMediaStreamFilter Supported by the Media Stream filter, which is used internally by the multimedia stream object. .
IMemoryData Contains methods that set and retrieve memory data on audio data objects.
IMultiMediaStream Provides methods that control a multimedia stream and provide access to its underlying media streams.
IStreamSample Provides control over the behavior of stream samples.