Microsoft DirectX 8.1 (C++) |
Determines if the filter can support the media type proposed by the output pin.
Syntax
HRESULT CheckMediaType(
const CMediaType *pmtIn
);
Parameters
pmtIn
Pointer to the media type to check.
Return Value
Returns an HRESULT value.
Remarks
This helper member function can be used to validate a video media type. It examines the major type and subtype GUIDs and verifies that the format GUID defines a VIDEOINFO structure.
See Also