Partager via


CPosPassThru::GetRate (Compact 2013)

3/26/2014

Retrieves the current rate.

Syntax

HRESULT GetRate(
  double* pdRate 
);

Parameters

  • pdRate
    Current rate, where 1 is the normal rate.

Return Value

Returns the HRESULT value returned from calling IMediaSeeking::GetRate on the connected pin.

Remarks

This member function implements the IMediaSeeking::GetRate method by calling this same method on the upstream filter's output pin.

Requirements

Header

dshow.h,
Streams.h

Library

ole32.lib,
Ole32auth.lib,
Strmbase.lib,
Strmiids.lib,
uuid.lib

See Also

Reference

CPosPassThru Class