1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2<html xml:lang="en-US" lang="en-US" xmlns="http://www.w3.org/1999/xhtml">
3  <head>
4    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
5    <meta http-equiv="Content-Style-Type" content="text/css" />
6    <link rel="stylesheet" href="../../css/manpage.css" type="text/css" />
7    <title>ARCOpenDir</title>
8  </head>
9  <body>
10    <h1><CODE><a href="../../nw/Overview.html">nw</a>::<a href="../../nw/lyt/Overview.html">lyt</a>::ARCOpenDir</CODE> Function</h1>
11    <h2>Syntax</h2>
12    <div class="section">
13      <pre class="definition">
14bool ARCOpenDir(
15     <a href="../../nw/lyt/ARCHandle/Overview.html">ARCHandle</a> * handle,
16     const wchar_t * dirName,
17     <a href="../../nw/lyt/ARCDir/Overview.html">ARCDir</a> * dir
18);
19bool ARCOpenDir(
20     <a href="../../nw/lyt/ARCHandle/Overview.html">ARCHandle</a> * handle,
21     <span>s32</span> entrynum,
22     <a href="../../nw/lyt/ARCDir/Overview.html">ARCDir</a> * dir
23);
24NW_INLINE bool ARCOpenDir(
25     <a href="../../nw/lyt/ARCHandle/Overview.html">ARCHandle</a> * handle,
26     <a href="../../nw/lyt/ARCDirEntry/Overview.html">ARCDirEntry</a> * dirent,
27     <a href="../../nw/lyt/ARCDir/Overview.html">ARCDir</a> * dir
28);
29</pre>
30    </div>
31    <h2>List of Overloaded Member Functions</h2>
32    <div class="section">
33      <table class="members">
34        <tr>
35          <td>
36            <a href="./ARCOpenDir(0).html">ARCOpenDir ( ARCHandle *, const wchar_t *, ARCDir * ) </a>
37          </td>
38          <td>Opens a directory.</td>
39        </tr>
40        <tr>
41          <td>
42            <a href="./ARCOpenDir(1).html">ARCOpenDir ( ARCHandle *, s32, ARCDir * ) </a>
43          </td>
44          <td>Opens a directory.</td>
45        </tr>
46        <tr>
47          <td>
48            <a href="./ARCOpenDir(2).html">ARCOpenDir ( ARCHandle *, ARCDirEntry *, ARCDir * ) </a>
49          </td>
50          <td>Opens a directory.</td>
51        </tr> </table>
52    </div>
53    <h2>Description of ARCOpenDir ( ARCHandle *, const wchar_t *, ARCDir * )</h2>
54    <div class="section"><p>If a relative path is specified in dirName, it is taken as a relative path from the current directory of the <a href="../../nw/lyt/ARCHandle/Overview.html">ARCHandle</a> structure.</p></div>
55    <h2>Description of ARCOpenDir ( ARCHandle *, s32, ARCDir * )</h2>
56    <div class="section"><p>Opens the directory given by the entry number and initializes the specified <a href="../../nw/lyt/ARCDir/Overview.html">ARCDir</a> structure. </p><p>The <a href="../../nw/lyt/ARCHandle/Overview.html">ARCHandle</a> structure must be initialized beforehand using <a href="../../nw/lyt/ARCInitHandle.html">ARCInitHandle</a>.</p></div>
57    <h2>Description of ARCOpenDir ( ARCHandle *, ARCDirEntry *, ARCDir * )</h2>
58    <div class="section"><p>Opens the directory represented by the directory entry structure and initializes the specified <a href="../../nw/lyt/ARCDir/Overview.html">ARCDir</a> structure. </p><p>The entry indicated by the directory entry structure must represent a directory.</p><p>The directory structure must be initialized beforehand using <a href="../../nw/lyt/ARCReadDir.html">ARCReadDir()</a>.</p><p>The <a href="../../nw/lyt/ARCHandle/Overview.html">ARCHandle</a> structure must be initialized beforehand using <a href="../../nw/lyt/ARCInitHandle.html">ARCInitHandle</a>.</p></div>
59  <hr><p>CONFIDENTIAL</p></body>
60</html>
61