次の方法で共有


CSourcePosition::get_StopTime (Compact 2013)

3/26/2014

Retrieves the time at which the media stream stops.

Syntax

HRESULT get_StopTime(
  REFTIME* pllTime 
);

Parameters

  • pllTime
    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.

Requirements

Header

dshow.h,
Streams.h

Library

ole32.lib,
Ole32auth.lib,
Strmbase.lib,
Strmiids.lib,
uuid.lib

See Also

Reference

CSourcePosition Class