Beckhoff Automation GmbH & Co. KG — 6.2.11 ITcSmTreeItem::ChangeChildSubType

API 6.2.9 ITcSmTreeItem::LookupChild Returns a ITcTreeItem pointer of a descendant child tree item given by it's relative path name. HRESULT LookupChild(BSTRbstrName, ITcSmTreeItem**pipItem); Parameters Return Values 6.2.10 ITcSmTreeItem2::ResourcesCount For internal use only. HRESULT ResourcesCount(long*pnCount); Parameters Return Values 6.2.11 ITcSmTreeItem::ChangeChildSubType For internal use only. HRESULT ChangeChildSubType(BSTRbstrChild, longnNewSubType,VARIANT_BOOLbAggressive, VARIANTvInfo, ITc SmTreeItem2**pipItem); Parameters Return Values Automation Interface 65 Version: 1.2 bstrName [in] relative path of the tree item you are looking for.

The relative path name is required, and each branch must be separated by a circumflex accent '^' or a tab. pipItem [out, retval] points to the location of a ITcSmTreeItem [} 37] interface pointer on return. The interface pointer gives access to specific methods belonging to the tree item. S OK _ function returns successfully. TSM E ITEMNOTFOUND _ _ (0x98510001) the path name does not qualify an existing tree item. pnCount [out,retval] Count of resources. S OK _ function returns successfully. bstrChild [in] nNewSubType [in] bAggressive [in, defaultvalue(-1)] vInfo [in, optional] pipItem [out, retval] S OK _ function returns successfully.

TSM E ITEMNOTFOUND _ _ (0x98510001) the path name does not qualify an existing tree item.