| Platform SDK: Task Scheduler |
The TASK_TRIGGER_TYPE enumerated type defines the types of triggers associated with the task. It is used in the TriggerType member of the TASK_TRIGGER structure.
typedef enum _TASK_TRIGGER_TYPE {
TASK_TIME_TRIGGER_ONCE = 0,
TASK_TIME_TRIGGER_DAILY = 1,
TASK_TIME_TRIGGER_WEEKLY = 2,
TASK_TIME_TRIGGER_MONTHLYDATE = 3,
TASK_TIME_TRIGGER_MONTHLYDOW = 4,
TASK_EVENT_TRIGGER_ON_IDLE = 5,
TASK_EVENT_TRIGGER_AT_SYSTEMSTART = 6,
TASK_EVENT_TRIGGER_AT_LOGON = 7
} TASK_TRIGGER_TYPE, *PTASK_TRIGGER_TYPE;
When this value is specified, the Type member of the TASK_TRIGGER structure is ignored.
When this value is specified, the DAILY member of the TRIGGER_TYPE_UNION structure is used.
When this value is specified, the WEEKLY member of the TRIGGER_TYPE_UNION structure is used.
When this value is specified, the MONTHLYDATE member of the TRIGGER_TYPE_UNION structure is used.
When this value is specified, the MONTHLYDOW member of the TRIGGER_TYPE_UNION structure is used.
When this value is specified, the wStartHour, wStartMinute, and Type member of the TASK_TRIGGER structure are ignored.
When this value is specified, the Type member of the TASK_TRIGGER structure is ignored.
When this value is specified, the Type member of the TASK_TRIGGER structure is ignored.
Windows NT/2000: Requires Windows 2000 (or Windows NT 4.0 with Internet Explorer 4.0 or later).
Windows 95/98: Requires Windows 98 (or Windows 95 with Internet Explorer 4.0 or later).
Header: Declared in mstask.h.
Unicode: Defined only as Unicode.
IScheduledWorkItem::SetIdleWait, TASK_TRIGGER, TRIGGER_TYPE_UNION