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>ARCFastOpen</TITLE> 7<LINK rel="stylesheet" type="text/css" href="../CSS/revolution.css"> 8</HEAD> 9<BODY> 10<H1>ARCFastOpen</H1> 11 12<H2>C Specification</H2> 13<DL> 14 <DD> 15<PRE><CODE>#include <revolution/arc.h></CODE></PRE> 16<DD><code>BOOL ARCFastOpen(ARCHandle* <em>handle</em>, s32 <em>entrynum</em>, ARCFileInfo* <em>af</em>);</code> 17</DL> 18<H2>Description</H2> 19<P><code>ARCFastOpen()</code> opens the file in the archive and initializes the specified <code>ARCFileInfo</code> structure. This differs from <a href="ARCOpen.html"><code>ARCOpen()</code></a> in that you specify the entry number for the file instead of specifying its file name. You need to get the <CODE>entrynum</CODE> for the file by calling <a href="ARCConvertPathToEntrynum.html"><code>ARCConvertPathToEntrynum()</code></a> in advance.</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 for the file.</TD> 26 </TR> 27 <TR> 28<TD><EM><STRONG><CODE>entrynum</CODE></STRONG></EM></TD> 29<TD>Entry number for the file.</TD> 30 </TR> 31 <TR> 32<TD><EM><STRONG><CODE>af</CODE></STRONG></EM></TD> 33<TD><code>ARCFileInfo</code> structure to initialize.</TD> 34 </TR> 35 </TBODY> 36</TABLE> 37<H2>Return Values</H2> 38<P>Returns <CODE>TRUE</CODE> if successful, <CODE>FALSE</CODE> if unsuccessful.</P> 39<H2>See Also</H2> 40<P><code><a href="ARCOpen.html">ARCOpen()</a>, <a href="ARCInitHandle.html">ARCInitHandle()</a>, <a href="ARCConvertPathToEntrynum.html">ARCConvertPathToEntrynum()</a></code></P> 41<H2>Revision History</H2> 42<P>2006/05/15 Initial version.</P> 43<hr> 44<P>CONFIDENTIAL</p> 45</BODY> 46</HTML>