Syntax
HRESULT GetEventSchYear(
[in] long EventId,
[out, retval] long* Year
);
Parameters
EventId
[in] ID for the specified Event.
Year
[out, retval] Integer representing the scheduled year (for example, “1984” or “2003”).
Remarks
This function gets a value that is not used by the Event Manager.
GetEventSchRecurEveryN ( EventId )
Returns the “Recur every” value of the Event’s schedule.
Syntax
HRESULT GetEventSchRecurEveryN(
[in] long EventId,
[out, retval] long* EveryN
);
Parameters
EventId
[in] ID for the specified Event.
EveryN
[out, retval] Repeat every N periods. The period depends on the type of schedule, e.g.
Weekly, Monthly, etc.
Remarks
This function is valid only for Clock Events.
The “Recur Every” value (EveryN) is used by all the Event schedules, except one. The “Once” schedule does
not repeat; therefore, it does not need the EveryN value.
GetEventSchHour ( EventId )
Returns the hour that the Event is to be triggered.
Syntax
HRESULT GetEventSchHour(
[in] long EventId,
[out, retval] long* Hour
);
Parameters
EventId
[in] ID for the specified Event.
Hour
[out, retval] Integer representing the scheduled hour. Values range from 0 to 23.
Remarks
This function is valid only for Clock and Timer Events.
13