Compartilhar via


CPosPassThru::get_Rate

 
Microsoft DirectShow 9.0

CPosPassThru::get_Rate

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:** Declared in Ctlutil.h; include Streams.h.

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

See Also