Exposing Capture and Compression Formats (Windows Embedded CE 6.0)
This section describes how to return capture and compression formats by using the IAMStreamConfig::GetStreamCaps method. 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::GetStreamCaps can return information about the kinds of formats allowed for audio or video.
The IAMStreamConfig::GetStreamCaps method returns an array of pairs of media type and capabilities structures. The media type is an AM_MEDIA_TYPE structure and the capabilities are represented either by an AUDIO_STREAM_CONFIG_CAPS structure or a VIDEO_STREAM_CONFIG_CAPS structure.
The following topics provide additional information.