IEnumWorkItems interface
Provides the 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.
Members
The IEnumWorkItems interface inherits from the IUnknown interface. IEnumWorkItems also has these types of members:
Methods
The IEnumWorkItems interface has these methods.
| Method | Description |
|---|---|
| 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. |
| Next |
Retrieves the next set of tasks in the enumeration sequence. |
| Reset |
Resets the enumeration sequence to the beginning. |
| Skip |
Skips the next set of tasks in the enumeration sequence. |
Examples
For more information and example code for this interface, see C/C++ Code Example: Enumerating Tasks.
Requirements
|
Minimum supported client | Windows 2000 Professional [desktop apps only] |
|---|---|
|
Minimum supported server | Windows 2000 Server [desktop apps only] |
|
Redistributable | Internet Explorer 4.0 or later on Windows NT 4.0 and Windows 95 |
|
Header |
|
|
Library |
|
|
DLL |
|
Send comments about this topic to Microsoft
Build date: 10/30/2012
