IA4HierarchyFolder::GetAttributesOf

Purpose

Returns the attributes of a particular folder in the iSeries™ Navigator hierarchy. The attribute indicators are the same as those defined for the Microsoft® interface method IShellFolder::GetAttributesOf. This is a required member function.

Syntax

HRESULT STDMETHODCALLTYPE GetAttributesOf(
    LPCITEMIDLIST pidl,
    ULONG* ulfInOut
    );

Parameters

pidl
Pointer to an ITEMIDLIST (item identifier list) structure that uniquely identifies the object whose attributes are to be retrieved.
ulfInOut
The returned object attributes. On input, this parameter will be set to indicate which object attributes to retrieve.

Return Codes

Returns NOERROR if successful or E_FAIL if unable to locate the object attributes.

Comments

Refer to the Windows® include file shlobj.h for constants that define the bit flags.

This function is called repeatedly by the iSeries Navigator when populating a tree or list view. Long running operations should therefore be avoided.