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>ARCChangeDir</TITLE>
7<LINK rel="stylesheet" type="text/css" href="../CSS/revolution.css">
8</HEAD>
9<BODY>
10<H1>ARCChangeDir</H1>
11
12<H2>Syntax</H2>
13<dl><dd><pre class="construction">
14#include &lt;revolution/arc.h&gt;
15
16BOOL ARCChangeDir(ARCHandle* handle, const char* dirName);
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>dirName</TH>
28<TD>Directory to be changed.</TD>
29    </TR>
30  </TBODY>
31</TABLE>
32
33<H2>Return Values</H2>
34<P>Returns <CODE>TRUE</CODE> if successful, <CODE>FALSE</CODE> if unsuccessful.</P>
35
36<H2>Description</H2>
37<P><CODE>ARCChangeDir</CODE> changes the current directory of the archive. Calling this function allows the current directory in the archive to be changed without any effect on the current directory of the DVD file system. Any relative paths specified when using <A href="ARCOpen.html"><CODE>ARCOpen</CODE></A> or <A href="ARCFastOpen.html"><CODE>ARCFastOpen</CODE></A> after this are assumed to be relative paths from the current directory in the archive.</P>
38
39<H2>See Also</H2>
40<P class="reference">
41<A href="ARCFastOpen.html">ARCFastOpen</A>, <A href="ARCOpen.html">ARCOpen</A>
42</P>
43
44<H2>Revision History</H2>
45<P>
462006/05/15 Initial version.<BR>
47</P>
48
49<hr><p>CONFIDENTIAL</p></body>
50</HTML>