ICurrentMediaType
ICurrentMediaType – it allows to get the current media type by the next method:
HRESULT STDMETHODCALLTYPE getMediaTypeIndex( DWORD *aPtrMediaTypeIndex) - get the selected media type index, where aPtrMediaTypeIndex is pointer on the index of the selected media type;
HRESULT STDMETHODCALLTYPE getStreamIndex( DWORD *aPtrStreamIndex) - get the selected stream index, where aPtrStreamIndex is pointer on the index of the selected stream;
HRESULT STDMETHODCALLTYPE getMediaType( IUnknown **aPtrMediaType) - get the current media type, where aPtrMediaType is pointer on the selected media type.