IID_ITaskCondition {8419D6C6-78C6-4AAF-B4EB-291B43374AED}

The TaskCondition interface has just the one method (after the IUnknown methods):

Offset Method
0x0C Eval

with prototype:



The only known implementation is for the CTaskCondition and CTaskConditionCombiner classes in SHELL32. The only known use made of this implementation by Microsoft is to support the Control Panel, but both classes are creatable through COM and are therefore open to wider use.


The ITaskCondition interface is implemented in the SHELL32.DLL version 6.00 from Windows Vista, and higher.

Though new for Windows Vista, this interface is not documented by Microsoft in the January 2007 edition of the Software Development Kit (SDK) for Windows Vista.