Share via


CAMSchedule Class

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

DirectShow applications and DirectShow filters have different include file and link library requirements. See Setting Up the Build Environment for more information.

OS Versions: Windows CE 2.12 and later. Version 2.12 requires DXPAK 1.0 or later.
Header:

Last updated on Wednesday, April 13, 2005

© 2005 Microsoft Corporation. All rights reserved.