Important: |
---|
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist. |
A version of this page is also available for
4/8/2010
This section describes how to return capture and compression formats by using the IAMStreamConfig::GetStreamCapsmethod. This method can get more information about accepted media types than the traditional way of enumerating a pin's media types, so you should typically use it instead. IAMStreamConfig::GetStreamCapscan return information about the kinds of formats allowed for audio or video.
The IAMStreamConfig::GetStreamCapsmethod returns an array of pairs of media type and capabilities structures. The media type is an AM_MEDIA_TYPEstructure and the capabilities are represented either by an AUDIO_STREAM_CONFIG_CAPSstructure or a VIDEO_STREAM_CONFIG_CAPSstructure.
The following topics provide additional information.