|Microsoft DirectShow 9.0|
The IKsPin interface provides a method to retrieve the mediums supported by a pin on a kernel-mode filter. IKsPin has additional methods besides the one shown here, but they are not supported for DirectShow.
In addition to the methods inherited from IUnknown, the IKsPin interface exposes the following method.
|KsQueryMediums||Retrieves the mediums supported by a pin.|
Header: Include Ks.h, Ksproxy.h. You must include Ks.h before Ksproxy.h.
Library: Use Strmiids.lib.