Share via


IMediaStreamFilter::WaitUntil

 
Microsoft DirectShow 9.0

IMediaStreamFilter::WaitUntil

  • Note   This interface is deprecated. New applications should not use it.

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