put_StopTime
Collapse the table of content
Expand the table of content

IMediaPosition::put_StopTime method

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

Syntax


HRESULT put_StopTime(
  [in] REFTIME llTime
);

Parameters

llTime [in]

Stop time, in seconds.

Return value

Returns an HRESULT value. Possible values include the following.

Return codeDescription
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).

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Control.h (include Dshow.h)

Library

Strmiids.lib

See also

Error and Success Codes
IMediaPosition Interface

 

 

Show:
© 2016 Microsoft