|Microsoft DirectX 9.0|
The GetMediaType method retrieves the media type of the sample. If the format has not changed from the previous sample, the sample might not carry a media type.
HRESULT GetMediaType( AM_MEDIA_TYPE **ppMediaType );
Address of a pointer that receives an AM_MEDIA_TYPE structure.
Returns one of the following values.
|S_FALSE||The format has not changed from the previous sample.|