次の方法で共有


CSourceSeeking::GetPositions (Compact 2013)

3/26/2014

Retrieves the current and stop position settings.

Syntax

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

Parameters

  • pCurrent
    Current start time set to the value in m_rtStart.
  • pStop
    Current stop time set to the value in m_rtStop.

Return Value

Returns S_OK.

Remarks

The start and stop times are set in the CSourceSeeking::SetPositions function.

Requirements

Header

dshow.h,
Streams.h

Library

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

See Also

Reference

CSourceSeeking Class