Microsoft DirectX 9.0

CPosPassThru::SetRate

The SetRate method sets the playback rate. This method implements the IMediaSeeking::SetRate method.

Syntax

HRESULT SetRate(
    double dRate
);

Parameters

dRate

Playback rate. Must not be zero.

Return Value

Returns E_INVALIDARG if dRate is zero. Otherwise, returns the HRESULT value from the connected pin.

See Also