ITaskCondition

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:

HRESULT Eval (BOOL *);

Implementation

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.

Availability

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.