次の方法で共有


CPullPin::Seek (Compact 2013)

3/26/2014

Sets the start and stop times of the media stream.

Syntax

HRESULT Seek(
  REFERENCE_TIME tStart,
  REFERENCE_TIME tStop 
);

Parameters

  • tStart
    Start time (defaults to zero).

Return Value

Returns an HRESULT value.

Remarks

If the filter graph is running (active), the media rendering will start immediately at the new position defined by tStart.

Requirements

Header

dshow.h,
Streams.h

Library

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

See Also

Reference

CPullPin Class