Year
[in] Year setting for the schedule. An integer such as “1984” or “2001”
RecurEveryN
[in] Number of periods between successive triggers of the Event.
Hour
[in] Hour setting for the schedule. An integer between 0 and 23.
Minute
[in] Minute setting for the schedule. An integer between 0 and 60.
Second
[in] Second setting for schedule. An integer between 0 and 60.
Success
[out, retval] TRUE if schedule was successfully set, FALSE if setting the schedule failed.
Remarks
This function is valid only for Clock and Timer Events.
If both SetEventSchedule and SetEventOption need to be called for an Event, then SetEventOption should be
called before SetEventSchedule.
SortEvents ( SortType, Direction )
Sorts the list of Events by the sort type and direction.
Syntax
HRESULT SortEvents(
[in] long SortType,
[in] long Direction,
[out, retval] VARIANT_BOOL* Success
);
Parameters
SortType
[in] Type of sort to apply to the list.
Direction
[in] Direction of the sort: ascending (1) or descending (0).
Success
[out, retval] TRUE if the Events are successfully sorted, FALSE if sorting the Events failed.
Remarks
This function is no longer supported.
TriggerEventByName ( Name, Time, Source, Data )
Schedules an Event to be executed.
Syntax
HRESULT TriggerEventByName(
[in]BSTR Name,
[in]BSTR Time,
[in]BSTR Source,
[in]BSTR Data,
[out, retval]VARIANT_BOOL* Success
);
Parameters
Name
[in] The name of the Event to execute.
Time
[in] The current system time.
Source
[in] What port, Variable, etc. changed to cause the Event to need triggering.
14