Condividi tramite


ISBE2MediaTypeProfile interface (sbe.h)

[The feature associated with this page, Microsoft TV Technologies, is a legacy feature. Microsoft strongly recommends that new code does not use this feature.]

Implements a media type profile. A media type profile describes a set of streams and their media types, which are used when output pins for a Stream Buffer Source filter are created to specify the media types supported by those pins. The Stream Buffer Source filter implements the ISBE2Crossbar interface, which you can use to set the media type profile for the filter.

To obtain a pointer to the ISBE2MediaTypeProfile interface, call the ISBE2Crossbar::GetInitialProfile method for the crossbar, and then use the value returned in the ppProfile output parameter.

Inheritance

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

Methods

The ISBE2MediaTypeProfile interface has these methods.

 
ISBE2MediaTypeProfile::AddStream

Adds a stream to a media type profile.
ISBE2MediaTypeProfile::DeleteStream

Removes a stream from a media type profile.
ISBE2MediaTypeProfile::GetStream

Gets the media type of a stream that appears at a specific index in a media type profile.
ISBE2MediaTypeProfile::GetStreamCount

Gets the number of streams in a media type profile.

Remarks

To declare the interface identifier (IID) for this interface, use the __uuidof operator: __uuidof(ISBE2MediaTypeProfile).

Requirements

Requirement Value
Minimum supported client Windows�7 [desktop apps only]
Minimum supported server None supported
Target Platform Windows
Header sbe.h