142
Syntax
HRESULT GetEventSchMaskOrDay(
[in] long EventId,
[out, retval] long* MaskDay
);
Parameters
EventId
[in] ID for the specified Event.
MaskDay
[out, retval] Day of the month, or a mask of bits for the days of the week.
MaskDay values for weekly Events:
Value
Bit # Day
0x00000001 (1)
0
Sunday
0x00000002 (2)
1
Monday
0x00000004 (4)
2
Tuesday
0x00000008 (8)
3
Wednesday
0x00000010 (16) 4
Thursday
0x00000020 (32) 5
Friday
0x00000040 (64) 6
Saturday
Remarks
This function is valid only for Clock Events.
GetEventS
GetEventS
GetEventS
GetEventSchMonth ( EventId )
chMonth ( EventId )
chMonth ( EventId )
chMonth ( EventId )
Returns the month value for the Event’s schedule.
Syntax
HRESULT GetEventSchMonth(
[in] long EventId,
[out, retval] long* Month
);
Parameters
EventId
[in] ID for the specified Event.
Month
[out, retval] Integer representing the scheduled month of the year. Values will range from 1
to 12.
Remarks
This function is valid only for Clock Events.
The month value is only used for yearly Event schedules.
GetEventSchYear ( EventId )
GetEventSchYear ( EventId )
GetEventSchYear ( EventId )
GetEventSchYear ( EventId )
Returns the year part of the Event’s schedule.