Share via


CBaseReferenceClock::TriggerThread (Compact 2013)

3/26/2014

Triggers the advise thread's event.

Syntax

void TriggerThread( );

Parameters

None.

Return Value

None.

Remarks

The clock uses a worker thread that should wake up and call CAMSchedule::Advise at the appropriate time.

If the clock adds an event that should be fired earlier than an outstanding event, the worker thread must be awoken to reevaluate its wait time.

The TriggerThread member function wakes the worker thread so this can take place.

If a derived clock causes time to jump forward, TriggerThread should be called so the wait time can be reevaluated; otherwise, the events fire late.

Requirements

Header

dshow.h,
Streams.h

Library

ole32.lib,
Ole32auth.lib,
Strmbase.lib,
Strmiids.lib,
uuid.lib

See Also

Reference

CBaseReferenceClock Class