The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
A version of this page is also available for
This method retrieves the media type that was set for an input stream, if any.
Zero-based index of an input stream on the DMO.
[out] Pointer to a DMO_MEDIA_TYPE structure allocated by the caller. The method fills the structure with the media type.
Returns an HRESULT value. Possible values include the following.
The caller must set the media type for the stream before calling this method. To set the media type, call the IMediaObject::SetInputType method.
If the method succeeds, call MoFreeMediaType to free the format block.
|Windows Embedded CE||Windows CE .NET 4.1 and later|
|Windows Mobile||Windows Mobile Version 5.0 and later|