ITcSysManager3::LookupTreeItemById

Searches for a Tree Item based on its type (enum) and type-specific ID.

Signature

HRESULT LookupTreeItemById(long itemType, long itemId, ITcSmTreeItem** pipItem);

Parameter

Name

Type

Description

itemType

long

[in] Tree Item type (see TREEITEMTYPES).

itemId

long

[in] Type-specific numeric identifier.

Return value

Name

Type

Description

pipItem

ITcSmTreeItem**

[out, retval] Resolved Tree Item.

(HRESULT)

HRESULT

S_OK if successful, otherwise an error code.

Error codes

See also