Microsoft DirectX 8.1 (C++)

IMediaPosition::put_StopTime

The put_StopTime method sets the time at which the playback will stop, relative to the duration of the stream.

Syntax

HRESULT put_StopTime(
  REFTIME llTime
);

Parameters

llTime

[in] Stop time, in seconds.

Return Values

Returns an HRESULT value. Possible values include the following.

Value Description
S_OK Success.
E_INVALIDARG Invalid argument.
E_NOTIMPL Not implemented.

Remarks

The stop time ignores the start time and the playback rate. For example, if the start time is 2 seconds, the stop time is 12 seconds, and the playback rate is 2.0, playback will stop after 5 seconds (real time).

See Also