Compartilhar via


IMediaPosition::get_StopTime

 
Microsoft DirectShow 9.0

IMediaPosition::get_StopTime

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

Syntax

  HRESULT get_StopTime(
  REFTIME *pllTime
);

Parameters

pllTime

[out] Pointer to a variable that receives the stop time, in seconds.

Return Values

Returns an HRESULT value. Possible values include the following.

Return code Description
S_OK Success.
E_NOTIMPL Not implemented.
E_POINTER NULL pointer argument.

Remarks

The playback rate does not affect the value returned by this method.

Requirements

Header: Declared in Control.h; include Dshow.h.

Library: Use Strmiids.lib.

See Also