IID_ITaskConditionInit {D2BF5114-3F4B-4A63-8732-67018574B6B3}

The TaskConditionInit interface has the following methods (as ordered in the virtual function table after the IUnknown methods):

Offset Method
0x0C InitFromXml
0x10 Init

with prototype:

HRESULT InitFromXml (IXMLDOMNode *);
HRESULT Init (PCWSTR, BOOL, INamedPropertyStore *);


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


The ITaskConditionInit 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.