Partager via


IMediaSeeking::GetPositions (Compact 2013)

3/26/2014

This method returns the current and stop position settings.

Syntax

HRESULT GetPositions(
  LONGLONG* pCurrent,
  LONGLONG* pStop
);

Parameters

  • pCurrent
    [out] Start time in the current time format.
  • pStop
    [out] Stop time in the current time format.

Return Value

Returns an HRESULT value that depends on the implementation of the interface.

Remarks

This method is provided for efficiency so that just one call will retrieve both the current and stop position.

Requirements

Header

dshow.h

Library

Strmiids.lib

See Also

Reference

IMediaSeeking