IMFRateSupport::GetSlowestRate method (mfidl.h)
Retrieves the slowest playback rate supported by the object.
HRESULT GetSlowestRate( MFRATE_DIRECTION eDirection, BOOL fThin, float *pflRate );
Specifies whether to query to the slowest forward playback rate or reverse playback rate. The value is a member of the MFRATE_DIRECTION enumeration.
If TRUE, the method retrieves the slowest thinned playback rate. Otherwise, the method retrieves the slowest non-thinned playback rate. For information about thinning, see About Rate Control.
Receives the slowest playback rate that the object supports.
The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.
||The method succeeded.|
||The object does not support reverse playback.|
||The object does not support thinning.|
The value returned in plfRate represents a lower bound. Playback at this rate is not guaranteed. Call IMFRateSupport::IsRateSupported to check whether the boundary rate is supported. For example, a component that supports arbitrarily slow rates will return zero in pflRate, and applications should call IsRateSupported separately to determine whether the component supports rate 0.
If eDirection is MFRATE_REVERSE, the method retrieves the slowest reverse playback rate. This is a negative value, assuming the object supports reverse playback.
|Minimum supported client||Windows Vista [desktop apps | UWP apps]|
|Minimum supported server||Windows Server 2008 [desktop apps | UWP apps]|