Partager via


CAMSchedule Class (Compact 2013)

3/26/2014

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

Header

dshow.h,
Streams.h

Library

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

See Also

Reference

DirectShow Classes