Contents Index Topic Contents | ||
Previous Topic: ITaskScheduler::Delete Next Topic: ITaskScheduler::GetTargetComputer |
ITaskScheduler::Enum
HRESULT Enum( IEnumTasks ** ppEnumTasks );Retrieves a pointer to an OLE enumerator object that enumerates the tasks in the current task folder.
- Returns one of the following values:
S_OK The operation was successful. E_INVALIDARG The arguments are not valid. E_OUTOFMEMORY Not enough memory is available.
- ppEnumTasks
- Address of a pointer to an IEnumWorkItems interface. This interface contains the enumeration context of the current task(s).
The current folder resides on the computer returned by GetTargetComputer, which defaults to the local computer if not previously set by a call to SetTargetComputer.
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.