Share via


CSourceSeeking::GetAvailable

 
Microsoft DirectShow 9.0

CSourceSeeking::GetAvailable

The GetAvailable method retrieves the range of times in which seeking is efficient. This method implements the IMediaSeeking::GetAvailable method.

Syntax

  HRESULT GetAvailable(
    LONGLONG *pEarliest,
    LONGLONG *pLatest
);

Parameters

pEarliest

Pointer to a variable that receives the earliest time for efficient seeking. The variable is set to zero.

pLatest

Pointer to a variable that receives the latest time for efficient seeking. The variable is set to the value of the CSourceSeeking::m_rtDuration member variable.

Return Value

Returns S_OK.

Requirements

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

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

See Also