Share via


CCmdQueue::CheckTime

 
Microsoft DirectShow 9.0

CCmdQueue::CheckTime

The CheckTime method determines if a specified time is due.

Syntax

  BOOL CheckTime(
    CRefTime time,
    BOOL bStream
);

Parameters

time

Time to check.

bStream

TRUE if the time parameter is a stream-time value; FALSE if time is a presentation-time value.

Return Value

Returns TRUE if the specified time has not yet passed.

Requirements

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

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

See Also