Microsoft DirectX 9.0

IMediaStreamFilter::WaitUntil

The WaitUntil method causes the filter to block until a specified stream time. The filter's pins call this method. They can interrupt the wait by flushing the filter.

Syntax

HRESULT WaitUntil(
    REFERENCE_TIME WaitStreamTime
);

Parameters

WaitStreamTime

[in]  Specifies the stream time, in 100-nanosecond units.

Return Values

Returns an HRESULT value. Possible values include the following.

Value Description
E_FAIL Failure.
S_FALSE The wait was interrupted.
S_OK Success.

Remarks

If the graph does not have a reference clock, the method returns E_FAIL.

See Also