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>C Specification</H2> 13<DL> 14 <DD> 15<PRE><CODE>#include <revolution/arc.h></CODE></PRE> 16<DD><code>BOOL ARCGetCurrentDir(ARCHandle* <em>handle</em>, char* <em>path</em>, u32 <em>maxlen</em>);</code> 17</DL> 18<H2>Description</H2> 19<P><code>ARCGetCurrentDir()</code> gets the archive's current directory.</P> 20<H2>Arguments</H2> 21<TABLE border="1" width="100%"> 22 <TBODY> 23 <TR> 24<TD><EM><STRONG><CODE>handle</CODE></STRONG></EM></TD> 25<TD>Pointer to the <code>ARCHandle</code> structure of the archive file.</TD> 26 </TR> 27 <TR> 28<TD><EM><STRONG><CODE><code><EM><STRONG>path</STRONG></EM></code></CODE></STRONG></EM></TD> 29<TD>Pointer to the buffer to store the path of the archive's current directory.</TD> 30 </TR> 31 <TR> 32<TD><EM><STRONG><CODE>maxlen</CODE></STRONG></EM></TD> 33<TD>Buffer size.</TD> 34 </TR> 35 </TBODY> 36</TABLE> 37<H2>Return Values</H2> 38<P>TRUE if the path can fit in the buffer. Otherwise, returns <CODE>FALSE</CODE>.</P> 39<H2>See Also</H2> 40<P><A href="ARCChangeDir.html"><CODE>ARCChangeDir</CODE></A></P> 41<H2>Revision History</H2> 42<P>2006/05/15 Initial version.</P> 43<hr> 44<P>CONFIDENTIAL</p> 45</BODY> 46</HTML>