1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<HTML>
3<HEAD>
4<META http-equiv="Content-Type" content="text/html; charset=windows-1252">
5<META http-equiv="Content-Style-Type" content="text/css">
6<TITLE>ARCGetCurrentDir</TITLE>
7<LINK rel="stylesheet" type="text/css" href="../CSS/revolution.css">
8</HEAD>
9<BODY>
10<H1>ARCGetCurrentDir</H1>
11
12<H2>Syntax</H2>
13<dl><dd><pre class="construction">
14#include &lt;revolution/arc.h&gt;
15
16BOOL ARCGetCurrentDir(ARCHandle* handle, char* path, u32 maxlen);
17</pre></dd></dl>
18
19<H2>Arguments</H2>
20<TABLE class="arguments" border="1" >
21  <TBODY>
22    <TR>
23<TH>handle</TH>
24<TD>Pointer to the archive file's <CODE>ARCHandle</CODE> structure.</TD>
25    </TR>
26    <TR>
27<TH><code><EM><STRONG>path</STRONG></EM></code></TH>
28<TD>Pointer to the buffer used to store the path to the current directory of the archive.</TD>
29    </TR>
30    <TR>
31<TH>maxlen</TH>
32<TD>Buffer size</TD>
33    </TR>
34  </TBODY>
35</TABLE>
36
37<H2>Return Values</H2>
38<P>Returns <CODE>TRUE</CODE> if the path is contained within the buffer. Otherwise, returns <CODE>FALSE</CODE>.</P>
39
40<H2>Description</H2>
41<P><CODE>ARCGetCurrentDir</CODE> gets the current directory of the archive.</P>
42
43<H2>See Also</H2>
44<P class="reference">
45<A href="ARCChangeDir.html">ARCChangeDir</A>
46</P>
47
48<H2>Revision History</H2>
49<P>
502006/05/15 Initial version.<BR>
51</P>
52
53<hr><p>CONFIDENTIAL</p></body>
54</HTML>