![background image](http://html1.mh-extra.com/html/xantech/crm-wic/crm-wic_reference-manual_3156372069.webp)
69
SetEventSchedule ( EventId, Recur, MaskOrDay, Month, Year, RecurEveryN,
Hour, Minute, Second )
Modify the schedule settings of a specified event.
Syntax
HRESULT SetEventSchedule(
[in] long EventId,
[in] long Recur,
[in] long MaskOrDay,
[in] long Month,
[in] long Year,
[in] long RecurEveryN,
[in] long Hour,
[in] long Minute,
[in] long Second,
[out, retval] VARIANT_BOOL* Success
);
Parameters
EventId
[in] ID of the Event to modify the schedule of.
Recur
[in] The recurrence pattern used for this schedule. .
Recur value Description
0 Once
1 Daily
2 Weekly
3 Monthly
4 Yearly
MaskOrDay
[in] Mask of days or specific day of the month.
MaskDay values for weekly Events:
Bit Day
0 Sunday
1 Monday
2 Tuesday
3 Wednesday
4 Thursday
5 Friday
6 Saturday
Month
[in] Month setting for the schedule. An integer between 1 and 12. This parameter is used only for yearly schedules.
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.
Summary of Contents for CRM-WIC
Page 1: ...Reference Manual Programming Guide Room Monitor Web Intelligent Controller Model CRM WIC...
Page 8: ...8 Hardware User Interface Hardware User Interface for the CRM WIC...
Page 16: ...16 For full details see the RPC section at the end of this manual...
Page 43: ...43 This expression resolves to this value 0 1 4 3 1 Hello Hello 0...
Page 98: ...98 Index...