Microsoft DirectX 8.1 (C++)

CSourcePosition::get_Rate

Retrieves the rate of playback relative to normal playback speed.

Syntax

HRESULT get_Rate(
  double *pdRate
);

Parameters

pdRate

Pointer to the returned rate.

Return Value

Returns E_POINTER if pdRate is invalid. Otherwise, returns S_OK.

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.

See Also