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_GetArchiveOffset</title>
9<LINK rel="stylesheet" href="../../css/nitro.css" type="text/css">
10</head>
11
12<body>
13
14<h1 align="left">FS_GetArchiveOffset <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>
20  <BR>
21  <CODE>static inline u32	FS_GetArchiveOffset(const <A href="../fs_archive_type.html">FSArchive</a> *p_arc, u32 pos);</CODE><br>
22  <br>
23  </dd>
24</dl>
25
26<h2>Arguments</h2>
27<TABLE border="1" width="100%">
28  <TBODY>
29    <TR>
30      <TD width="13%"><EM><STRONG>p_arc</STRONG></EM></TD>
31      <TD width="87%">Address of the <A href="../fs_archive_type.html"><code>FSArchive</code></a> structure.</TD>
32    </TR>
33    <TR>
34      <TD width="13%"><EM><STRONG>pos</STRONG></EM></TD>
35      <TD width="87%">Position relative to the base offset</TD>
36    </TR>
37  </TBODY>
38</TABLE>
39
40<h2>Return Values</h2>
41<p>Specified position (offset from the archive's base).</p>
42
43<H2>Description</H2>
44<P>This function returns the value that results from adding the archive's base to the specified position offset. This function is equivalent to <code><a href="FS_GetArchiveBase.html">FS_GetArchiveBase</a></code>(<code>p_arc</code>) + <code>pos</code>. <BR></p>
45<h2>See Also</h2>
46<p><code><a href="../fs_archive_type.html">FSArchive</a>, <a href="FS_GetArchiveBase.html">FS_GetArchiveBase</a>, <a href="FS_GetArchiveFAT.html">FS_GetArchiveFAT</a>, <a href="FS_GetArchiveFNT.html">FS_GetArchiveFNT</a></code></P>
47<H2>Revision History</H2>
48<P>
492004/11/02 Corrected error in paragraph format and a link.<br> 2004/06/30 Initial version.
50</P>
51<hr><p>CONFIDENTIAL</p></body>
52</html>
53