1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<html>
3
4<head>
5<META http-equiv="Content-Type" content="text/html; charset=windows-1252">
6<META name="GENERATOR" content="IBM WebSphere Studio Homepage Builder Version 7.0.0.0 for Windows">
7<META http-equiv="Content-Style-Type" content="text/css">
8<title>FS_OpenFile</title>
9<LINK rel="stylesheet" href="../../css/nitro.css" type="text/css">
10</head>
11
12<body>
13
14<h1 align="left">FS_OpenFile<img src="../../image/NTR.gif"align="middle"><img src="../../image/TWL.gif" align="middle"></h1>
15<h2>Syntax</h2>
16
17<dl>
18  <dd>
19<CODE>#include &lt;nitro/fs.h&gt;</CODE><BR> <BR> <CODE>BOOL FS_OpenFile(FSFile *file, const char *path);</CODE><br> <br>
20  </dd>
21</dl>
22<h2>Arguments</h2>
23<TABLE border="1" width="100%">
24  <TBODY>
25    <TR>
26<TD width="13%"><EM><STRONG>file</STRONG></EM></TD>
27<TD width="87%">Address of the <code><a href="../fs_file_type.html">FSFile</a></code> structure</TD>
28    </TR>
29    <TR>
30<TD width="13%"><EM><STRONG>path</STRONG></EM></TD>
31<TD width="87%">File's path name</TD>
32    </TR>
33  </TBODY>
34</TABLE>
35
36<h2>Return Values</h2>
37<p>Returns TRUE if the file opens properly; FALSE otherwise.</p>
38
39<H2>Description</H2>
40<P>This function is the same as <a href="FS_OpenFileEx.html">FS_OpenFileEx</a>(file, path, <a href="../FS_FILEMODE.html">FS_FILEMODE_R</a>.<br />It was created for the sake of compatibility, but the use of <a href="FS_OpenFileEx.html">FS_OpenFileEx</a> is now recommended.
41</P>
42
43<h2>See Also</h2>
44<p><CODE><a href="FS_OpenFileEx.html">FS_OpenFileEx</a></CODE></p>
45
46<H2>Revision History</H2>
47<P>
482007/09/18 Changed the description so that use of <CODE>FS_OpenFileEx</CODE> is recommended.<br>2004/09/24 Added the description in the Caution section regarding the conditions for calling this function.<br> 2004/04/02 Revised description due to elimination of path length restriction.<br> 2004/04/01 Initial version.
49</P>
50<hr><p>CONFIDENTIAL</p></body>
51</html>
52