Microsoft DirectX 9.0

CSourceSeeking::GetRate

The GetRate method retrieves the playback rate. This method implements the IMediaSeeking::GetRate method.

Syntax

HRESULT GetRate(
    double *pdRate
);

Parameters

pdRate

Pointer to a variable that receives the playback rate.

Return Value

Returns one of the HRESULT values listed in the following table.

Value Description
S_OK Success
E_POINTER NULL pointer value

Remarks

The playback rate is specified by the CSourceSeeking::m_dRateSeeking member variable.

See Also