ibm-information-center/dist/eclipse/plugins/i5OS.ic.rzakx_5.4.0.1/rzakxia4hfbindtolist.htm

72 lines
3.9 KiB
HTML
Raw Permalink Normal View History

2024-04-02 14:02:31 +00:00
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="en-us" xml:lang="en-us">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="copyright" content="(C) Copyright IBM Corporation 2005" />
<meta name="DC.rights.owner" content="(C) Copyright IBM Corporation 2005" />
<meta name="security" content="public" />
<meta name="Robots" content="index,follow" />
<meta http-equiv="PICS-Label" content='(PICS-1.1 "http://www.icra.org/ratingsv02.html" l gen true r (cz 1 lz 1 nz 1 oz 1 vz 1) "http://www.rsac.org/ratingsv01.html" l gen true r (n 0 s 0 v 0 l 0) "http://www.classify.org/safesurf/" l gen true r (SS~~000 1))' />
<meta name="DC.Type" content="concept" />
<meta name="DC.Title" content="IA4HierarchyFolder::BindToList" />
<meta name="DC.Relation" scheme="URI" content="rzakxia4hierarchyifspec.htm" />
<meta name="DC.Format" content="XHTML" />
<meta name="DC.Identifier" content="rzakxia4hfbindtolist" />
<meta name="DC.Language" content="en-us" />
<!-- All rights reserved. Licensed Materials Property of IBM -->
<!-- US Government Users Restricted Rights -->
<!-- Use, duplication or disclosure restricted by -->
<!-- GSA ADP Schedule Contract with IBM Corp. -->
<link rel="stylesheet" type="text/css" href="./ibmdita.css" />
<link rel="stylesheet" type="text/css" href="./ic.css" />
<title>IA4HierarchyFolder::BindToList</title>
</head>
<body id="rzakxia4hfbindtolist"><a name="rzakxia4hfbindtolist"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">IA4HierarchyFolder::BindToList</h1>
<div><p><strong>Purpose</strong></p>
<p>Returns an instance of IA4HierarchyFolder that corresponds to a particular
folder in the iSeries™ Navigator
hierarchy. This is a required member function.</p>
<p><strong>Syntax</strong> </p>
<pre>HRESULT STDMETHODCALLTYPE BindToList(
HWND hwnd,
LPCITEMIDLIST pidl,
REFIID riid,
LPVOID* ppvOut
);</pre>
<p><strong>Parameters</strong></p>
<dl><dt class="dlterm">hwnd</dt>
<dd>Handle of the view window that will display the list which may be either
a tree or list control. A component should use this handle to determine if
a list of objects for this view is already cached on the client.</dd>
<dt class="dlterm">pidl</dt>
<dd>Pointer to an ITEMIDLIST (item identifier list) structure that uniquely
identifies the folder to be enumerated.</dd>
<dt class="dlterm">riid</dt>
<dd>Identifier of the interface to return. This parameter points to the IID_IA4HierarchyFolder
interface identifier.</dd>
<dt class="dlterm">ppvOut</dt>
<dd>Address that receives the interface pointer. If an error occurs, a NULL
pointer should be returned at this address.</dd>
</dl>
<p><strong>Return Codes</strong></p>
<p>Returns NOERROR if successful or E_FAIL if a general error occurred.</p>
<p><strong>Comments</strong></p>
<p>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.</p>
<p>The function should initialize implementation class member variables from
the parameters supplied.</p>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="rzakxia4hierarchyifspec.htm" title="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.">IA4HierarchyFolder interface specifications listing</a></div>
</div>
</div>
</body>
</html>