Share via


CPosPassThru::GetRate

 
Microsoft DirectShow 9.0

CPosPassThru::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 the HRESULT value from the connected pin.

Requirements

**  Header:** Declared in Ctlutil.h; include Streams.h.

**  Library:** Use Strmbase.lib (retail builds) or Strmbasd.lib (debug builds).

See Also