Skip to content

Latest commit

 

History

History
120 lines (98 loc) · 3.91 KB

nf-strmif-imediaseeking-getstopposition.md

File metadata and controls

120 lines (98 loc) · 3.91 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:strmif.IMediaSeeking.GetStopPosition
IMediaSeeking::GetStopPosition (strmif.h)
The GetStopPosition method retrieves the time at which the playback will stop, relative to the duration of the stream.
GetStopPosition
GetStopPosition method [DirectShow]
GetStopPosition method [DirectShow]
IMediaSeeking interface
IMediaSeeking interface [DirectShow]
GetStopPosition method
IMediaSeeking.GetStopPosition
IMediaSeeking::GetStopPosition
IMediaSeekingGetStopPosition
dshow.imediaseeking_getstopposition
strmif/IMediaSeeking::GetStopPosition
dshow\imediaseeking_getstopposition.htm
dshow
7205ea09-65c1-4cd5-b76d-55977b0fbab9
4/26/2023
GetStopPosition, GetStopPosition method [DirectShow], GetStopPosition method [DirectShow],IMediaSeeking interface, IMediaSeeking interface [DirectShow],GetStopPosition method, IMediaSeeking.GetStopPosition, IMediaSeeking::GetStopPosition, IMediaSeekingGetStopPosition, dshow.imediaseeking_getstopposition, strmif/IMediaSeeking::GetStopPosition
strmif.h
Dshow.h
Windows
Windows 2000 Professional [desktop apps only]
Windows 2000 Server [desktop apps only]
Strmiids.lib
Windows
19H1
IMediaSeeking::GetStopPosition
strmif/IMediaSeeking::GetStopPosition
c++
APIRef
kbSyntax
COM
Strmiids.lib
Strmiids.dll
IMediaSeeking.GetStopPosition

IMediaSeeking::GetStopPosition

-description

[The feature associated with this page, DirectShow, is a legacy feature. It has been superseded by MediaPlayer, IMFMediaEngine, and Audio/Video Capture in Media Foundation. Those features have been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use MediaPlayer, IMFMediaEngine and Audio/Video Capture in Media Foundation instead of DirectShow, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]

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

-parameters

-param pStop [out]

Pointer to a variable that receives the stop time, in units of the current time format.

-returns

Returns an HRESULT value. Possible values include the following.

Return code Description
S_OK
Success.
E_NOTIMPL
Method is not supported.
E_POINTER
NULL pointer argument.

-remarks

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

The returned value is expressed in the current time format. The default time format is REFERENCE_TIME units (100 nanoseconds). To change time formats, use the IMediaSeeking::SetTimeFormat method.

-see-also

Error and Success Codes

IMediaSeeking Interface