141
Syntax
HRESULT GetEventSchClockType(
[in] long EventId,
[out, retval] long* ClockType
);
Parameters
EventId
[in] ID for the specified Event.
ClockType
[out, retval] Is set to 1, if the Event is a scheduled Event, and 0, if the Event is a timer based
Event.
Remarks
This function is valid only for Clock and Timer Events.
Use this function to determine if the Event is based on a simple timer, or is using a more complicated schedule.
GetEventSchRecurType ( EventId )
GetEventSchRecurType ( EventId )
GetEventSchRecurType ( EventId )
GetEventSchRecurType ( EventId )
Returns the type of schedule used by the specified Event.
Syntax
HRESULT GetEventSchRecurType(
[in] long EventId,
[out, retval] long* RecurType
);
Parameters
EventId
[in] ID for the specified Event.
RecurType
[out, retval] Type of schedule to apply
Valid values for
RecurType
are:
Value Description
0
Once
1
Daily
2
Weekly
3
Monthly
4
Yearly
Remarks
This function is valid for Clock Events only.
GetEventSchMaskOrDay ( EventId )
GetEventSchMaskOrDay ( EventId )
GetEventSchMaskOrDay ( EventId )
GetEventSchMaskOrDay ( EventId )
When the Event is set as a weekly Event, then this function returns a mask that defines the days of the week.
Yearly and monthly Event schedule types use this value for specifying the day of the month.