API | ITcTypeInstance Parameter Return value Error codes E_POINTER : pName is NULL . ADS_E_NOTFOUND : idx does not match an existing child, or the type has no children. See also GetChildItemType GetChildItemBitOffs 5.9.3.3 ITcTypeInstance3::GetChildItemType | ITcTypeInstance3::GetChildItemType Returns the type of a child element based on a 0-based index. For struct fields of array type and for multidimensional arrays, a temporary array type is created internally. Otherwise, the direct field type or base type is returned. Signature HRESULT GetChildItemType(long idx, ITcTypeInstance3** pipType); Parameter Return value Error codes E_POINTER : pipType is NULL . ADS_E_NOTFOUND :
idx does not match an existing child, or the type has no children. See also GetChildItemName GetChildItemBitOffs 5.9.4 ITcTypeInstance5 | ITcTypeInstance5 Inherits from: ITcTypeInstance4 Expanded by: ITcTypeInstance6 TE1000 82 Version: 1.7.0 Name Type Description idx long [in] 0-based child index. Name Type Description pName BSTR* [out, retval] Child name in field or array notation. (HRESULT) HRESULT S OK if successful, otherwise an error code. _ Name Type Description idx long [in] 0-based child index. Name Type Description pipType ITcTypeInstance3** [out, retval] Type of the child element. (HRESULT) HRESULT S OK if successful, otherwise an error code. _