Share via


CPosPassThru::GetPositions (Compact 2013)

3/26/2014

Returns the current and stop position settings.

Syntax

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

Parameters

  • pCurrent
    Start time in the current time format.
  • pStop
    Stop time in the current time format.

Return Value

Returns the HRESULT value returned from calling IMediaSeeking::GetPositions on the connected pin.

Remarks

This member function implements the IMediaSeeking::GetPositions method by calling this same method on the upstream filter's output pin. It allows the retrieval of several values with only one call.

Requirements

Header

dshow.h,
Streams.h

Library

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

See Also

Reference

CPosPassThru Class