Share via


CPosPassThru::get_Rate (Compact 2013)

3/26/2014

Retrieves the rate of playback relative to normal playback speed.

Syntax

HRESULT get_Rate(
  double* pdRate 
);

Parameters

  • pdRate
    Returned rate.

Return Value

Returns the HRESULT value returned from calling IMediaPosition::get_Rate on the connected pin.

Remarks

A rate of 1.0 indicates normal playback speed. A rate of 0.5 indicates half speed. A rate of -1.0 indicates normal speed in reverse.

Requirements

Header

dshow.h,
Streams.h

Library

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

See Also

Reference

CPosPassThru Class