Platform SDK: Task Scheduler |
The IEnumWorkItems interface provides methods for enumerating the tasks in the Scheduled Tasks folder.
IEnumWorkItems is the primary interface of the enumeration object. To create the enumeration, call ITaskScheduler::Enum.
IEnumWorkItems provides the following methods, listed here in vtable order.
Method | Description |
---|---|
Next | Retrieves the next set of tasks in the enumeration sequence. |
Skip | Skips the next set of tasks in the enumeration sequence. |
Reset | Resets the enumeration sequence to the beginning. |
Clone | Creates a new enumeration object in the same state as the current enumeration object: the new object points to the same place in the enumeration sequence. |
For information on | See |
---|---|
How the Task Scheduler interfaces work together | The Task Scheduler API |
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.