CAMSchedule.GetEvent method

[The feature associated with this page, DirectShow, is a legacy feature. It has been superseded by MediaPlayer, IMFMediaEngine, and Audio/Video Capture in Media Foundation. Those features have been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use MediaPlayer, IMFMediaEngine and Audio/Video Capture in Media Foundation instead of DirectShow, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]

The GetEvent method retrieves an event handle, which is used to signal a change in the next advise time.

Syntax

HANDLE GetEvent();

Parameters

This method has no parameters.

Return value

Returns a handle to an event.

Remarks

If the next advise time changes in other words, if a new advise request is added to the front of the list the scheduler signals this event. The clock should call the CAMSchedule::Advise method to determine the next advise time.

Requirements

Requirement Value
Header
Dsschedule.h (include Streams.h)
Library
Strmbase.lib (retail builds);
Strmbasd.lib (debug builds)

See also

CAMSchedule Class