This method selects an item in the information tree.
HRESULT SelectItem(
[in] long ItemID,
[in, optional, defaultvalue(0)] long Flags,
[in, optional, defaultvalue(0)] long Reserved)
Parameters:
ItemID – The ID of the item to select.
Flags – Always pass zero for single selection.
Reserved – Reserved. Currently not used.
Return Values:
The return value obtained from the returned HRESULT can be one of the following:
Return value |
Meaning |
S_OK |
Success. |
E_FAIL |
Catastrophic failure. |
E_INVALIDARG |
The ItemID is not a valid InformationTree ID |