Purpose
Returns an instance of IA4HierarchyFolder that corresponds to a particular folder in the iSeries™ Navigator hierarchy. This is a required member function.
Syntax
HRESULT STDMETHODCALLTYPE BindToList( HWND hwnd, LPCITEMIDLIST pidl, REFIID riid, LPVOID* ppvOut );
Parameters
Return Codes
Returns NOERROR if successful or E_FAIL if a general error occurred.
Comments
If an instance of IA4HierarchyFolder already exists for the specified folder, then this member function should return the cached instance instead of instantiating and initializing a separate instance. However, if the window handle associated with the cached object is not the same as the value specified on the hwnd parameter, then a new instance should be created.
The function should initialize implementation class member variables from the parameters supplied.