Microsoft DirectX 8.1 (C++)

CSourcePosition::get_StopTime

Retrieves the time at which the media stream stops.

Syntax

HRESULT get_StopTime(
  REFTIME *pllTime
);

Parameters

pllTime

Pointer to the returned stop time as a double value in seconds.

Return Value

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

Remarks

The stop time is a position between zero and the duration of the media at which playback should stop.

The stop position is applied before the rate and therefore is the position at typical playback speed.

See Also