An item identifier, or data entity, identifies all folders and objects in the Windows® namespace. Item identifiers are like filenames in a hierarchical file system. The Windows namespace is, in fact, a hierarchical namespace with its root at the Desktop.
An item identifier consists of a two-byte count field that is followed by a binary data structure of variable length (see the SHITEMID structure in the Microsoft® header file SHLOBJ.H). This item identifier uniquely describes an object relative to the parent folder of the object.
The iSeries™ Navigator uses item identifiers that adhere to the following given structure that must be returned by IA4HierarchyFolder::ItemAt.
<cb><item name>\x01<item type>\x02<item index>
where
<cb> is the size in bytes of the item identifier, including the count field itself
<item name> is the translated name of the object, suitable for displaying to the user
<item type> is a unique language-independent string that identifies the object type. It must be at least four characters in length.
<item index> is the zero-based index that identifies the position of the object within the list of parent folder objects.
Link to any of the following IA4HierarchyFolder specifications: