IShellTaskScheduler interface (shobjidl_core.h)

[IShellTaskScheduler is available for use in the operating systems specified in the Requirements section. It may be altered or unavailable in subsequent versions.]

Exposes methods that enable interaction with, and control of, a task scheduler.

Inheritance

The IShellTaskScheduler interface inherits from the IUnknown interface. IShellTaskScheduler also has these types of members:

Methods

The IShellTaskScheduler interface has these methods.

 
IShellTaskScheduler::AddTask

Adds a task to the scheduler's background queue.
IShellTaskScheduler::CountTasks

Counts tasks with the same owner ID in the scheduler's queue.
IShellTaskScheduler::RemoveTasks

Removes tasks from the scheduler's background queue.
IShellTaskScheduler::Status

Sets the release status and background thread timeout for the current task.

Remarks

This interface does not need to be free-threaded unless the items in the queue interact with the scheduler as well as the main execution thread on which the task scheduler was created.

This interface's class identifier (CLSID) is CLSID_ShellTaskScheduler, and its IID is IID_IShellTaskScheduler.

Windows Server 2003 and Windows XP:  IShellTaskScheduler was declared in Shlobj.h.

Requirements

Requirement Value
Minimum supported client Windows XP [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header shobjidl_core.h (include Shobjidl.h)