Partager via


CAMSchedule Class

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

Aa921457.f287ba43-b0c6-4def-9f50-2daf3e654a4c(en-us,MSDN.10).gif

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 Advise method 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 Advise and 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