共用方式為


IAMMediaTypeStream Interface

 
Microsoft DirectShow 9.0

IAMMediaTypeStream Interface

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

This interface contains methods for creating multimedia streams with arbitrary media types. Use this interface if you need to create a multimedia stream with a format that is not supported by the other Microsoft DirectShow multimedia streaming interfaces.

This interface inherits from the IMediaStream interface.

In addition to the methods inherited from IMediaStream, the IAMMediaTypeStream interface exposes the following methods.

Method Description
CreateSample Creates a stream sample and optionally specifies the sample buffer.
GetFormat Retrieves the format of the stream.
GetStreamAllocatorRequirements Retrieves the allocator requirements for the stream. This method is not currently implemented.
SetFormat Sets the format of the stream.
SetStreamAllocatorRequirements Sets the allocator requirements for the stream. This method is not currently implemented.