Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

This class relieves clocks from the burden of managing the advise requests. A clock can delegate such management to this class, provided that it calls this class's Advisemethod when the earliest event should be fired.

The application can fetch the time of the earliest event by calling GetNextAdviseTime, or the application can track events by a combination of the times returned by Adviseand the event times that the clock adds.

Member Functions

Member function Description

AddAdvisePacket

Creates a new pending notification.

Advise

Requests the scheduler to dispatch all events up to and including the time specified.

CAMSchedule

Constructs a CAMSchedule object.

GetAdviseCount

Returns the number of outstanding events.

GetEvent

Returns the event handle to send if the advise time requires reevaluation.

GetNextAdviseTime

Returns the reference time at which the next advise should be set, or MAX_TIME if no events are scheduled.

Unadvise

Removes a previously established advise link.

Requirements

Windows Embedded CE Windows CE 2.12 and later
Windows Mobile Windows Mobile Version 5.0 and later
Note Microsoft DirectShow applications and DirectShow filters have different include file and Library requirements
For more information, see Setting Up the Build Environment