Share via


IMSVidStreamBufferSource2::put_RateEx Method

This topic applies to Update Rollup 2 for Microsoft Windows XP Media Center Edition 2005.
The put_RateEx method sets the playback rate, and sets the frame rate for fast-forward play ("trick mode").

Syntax

HRESULT put_RateEx(
  [in]  double dRate,
  [in]  DWORD dwFramesPerSecond
);

Parameters

  • dRate [in]
    Playback rate. The valid range is (dRate >= 0.1 || dRate <= –0.1).

  • dwFramesPerSecond [in]
    Frames per second for fast-forward play. For more information, see IStreamBufferMediaSeeking2::SetRateEx.

Return Value

The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.

Return code Description

S_OK

The method succeeded.

Remarks

None.

See Also

IMSVidStreamBufferSource2 Interface

Send comments about this topic to Microsoft

Build date: 12/4/2008