Compartir a través de


IGraphConfig::GetStartTime

 
Microsoft DirectShow 9.0

IGraphConfig::GetStartTime

The GetStartTime method retrieves the reference time that was used when the filter graph was last put into a running state.

Syntax

  HRESULT GetStartTime(
  REFERENCE_TIME *prtStart
);

Parameters

prtStart

[out] Pointer to a variable that receives the start time.

Return Values

Returns one of the following HRESULT values.

Return code Description
S_OK Success.
VFW_E_WRONG_STATE Filter graph is not in a running state.

Remarks

The filter graph must currently be in a running state or this method will fail.

Requirements

Header: Declared in Strmif.h; include Dshow.h.

Library: Use Strmiids.lib.