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>CNTEntrynumIsDir</TITLE>
7<LINK rel="stylesheet" type="text/css" href="../CSS/revolution.css">
8</HEAD>
9<BODY>
10<H1>CNTEntrynumIsDir</H1>
11
12<H2>Syntax</H2>
13<DL>
14  <DD>
15<PRE><CODE>#include &lt;revolution/arc.h&gt;</CODE></PRE>
16<DD><CODE>BOOL CNTEntrynumIsDir(CNTHandle* CntHandle, s32 entrynum);</CODE>
17</DL>
18<H2>Arguments</H2>
19<TABLE border="1">
20  <TBODY>
21    <TR>
22<TD valign="top" width="120" bgcolor="#ffffe8"><CODE><STRONG><EM>CntHandle</EM></STRONG></CODE></TD>
23<TD width="520">Pointer to the <CODE>CNTHandle</CODE> structure.</TD>
24    </TR>
25    <TR>
26<TD valign="top" width="120" bgcolor="#ffffe8"><CODE><STRONG><EM>entrynum</EM></STRONG></CODE></TD>
27<TD width="520">Entry number for the path to be investigated.</TD>
28    </TR>
29  </TBODY>
30</TABLE>
31<H2>Return Values</H2>
32<P> Returns <CODE>TRUE</CODE> when the specified entry number is a directory; otherwise returns <CODE>FALSE</CODE>.</P>
33<H2>Description</H2>
34<P>Determines whether the specified entry number is a directory or a file. The function returns <CODE>TRUE</CODE> if the entry number is a directory. The entry number must be obtained in advance using the <a href="./CNTConvertPathToEntrynum.html"><CODE>CNTConvertPathToEntrynum</CODE></a> function.</P>
35<H2>See Also</H2>
36<P><CODE><A href="CNTConvertPathToEntrynum.html">CNTConvertPathToEntrynum</A>, <A href="CNTInitHandle.html">CNTInitHandle</A></CODE></P>
37<H2>Revision History</H2>
38<P>2006/10/26 Initial version.</P>
39<hr><p>CONFIDENTIAL</p></body>
40</HTML>