Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
IShellTaskScheduler2
Collapse the table of content
Expand the table of content

IShellTaskScheduler2 interface

[IShellTaskScheduler2 is available in Windows XP. It might be altered or unavailable in subsequent versions.]

Extends the functionality of IShellTaskScheduler by inheriting all of its methods, providing the ability to place a task in the queue with reference to other tasks of its priority, and adding a method to reset a task's priority.

Members

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

Methods

The IShellTaskScheduler2 interface has these methods.

MethodDescription
AddTask2

Adds a task to the scheduler's background queue.

MoveTask

Changes the priority and placement in the task queue for a specified task.

 

Remarks

This interface also provides the methods of the IShellTaskScheduler interface, from which it inherits.

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 IID is IID_IShellTaskScheduler2.

Windows XP:   Prior to Windows Vista this interface was declared in Shlobj.h.

Requirements

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Shobjidl.h

IDL

Shobjidl.idl

DLL

Shell32.dll (version 6.0 or later)

 

 

Community Additions

ADD
Show:
© 2015 Microsoft