共用方式為


CSourceSeeking::GetCurrentPosition

 
Microsoft DirectShow 9.0

CSourceSeeking::GetCurrentPosition

The GetCurrentPosition method retrieves the current position, relative to the total duration of the stream. Not implemented.

Syntax

  HRESULT GetCurrentPosition(
  LONGLONG *pCurrent
);

Parameters

pCurrent

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

Return Value

Returns E_NOTIMPL.

Remarks

Source filters typically do not support this method. Instead, renderer filters report the current position through the CRendererPosPassThru class.

Requirements

**  Header:** Declared in Ctlutil.h; include Streams.h.

**  Library:** Use Strmbase.lib (retail builds) or Strmbasd.lib (debug builds).

See Also