CPosPassThru.get_Rate method

The get_Rate method retrieves the playback rate. This method implements the IMediaPosition::get_Rate method.

Syntax

HRESULT get_Rate(
   double *pdRate
);

Parameters

pdRate

Pointer to a variable that receives the playback rate.

Return value

Returns the HRESULT value from the connected pin.

Requirements

Header
Ctlutil.h (include Streams.h)
Library
Strmbase.lib (retail builds);
Strmbasd.lib (debug builds)

See also

CPosPassThru Class