Microsoft DirectX 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.

See Also