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 6.5.0.0 for Windows">
7<META http-equiv="Content-Style-Type" content="text/css">
8<LINK rel="stylesheet" type="text/css" href="../CSS/revolution.css">
9<title>DVDSeekDir</title>
10</head>
11
12<body>
13
14<h1>DVDSeekDir</h1>
15
16
17<h2>C Specification</h2>
18
19<dl>
20  <dd><pre><code>#include &lt;revolution/dvd.h&gt;</code></pre>
21  </dd>
22<dd><pre><code>void DVDSeekDir(DVDDir* dir, u32 loc);</code></pre>
23  </dd>
24</dl>
25
26<h2>Arguments</h2>
27<TABLE border="1" cellpadding="3" cellspacing="0.1">
28  <tr>
29<TD width="120" bgcolor="#ffffe8"><em><strong><code>dir</code></strong></em></TD>
30<TD width="520">Directory structure.</TD>
31    </tr>
32  <tr>
33<TD width="120" bgcolor="#ffffe8"><em><strong><code>loc</code></strong></em></TD>
34<TD width="520">Location to set.</TD>
35    </tr>
36</TABLE>
37<h2>Return Values</h2>
38
39<p>None.</p>
40<H2>Description</H2>
41<P>The <code>DVDSeekDir</code> function sets the position of the next <a href="DVDReadDir.html"><code>DVDReadDir</code></a> operation in the directory structure. The new position reverts to the one associated with the directory structure when the <a href="DVDTellDir.html"><code>DVDTellDir</code></a> function was executed.</P>
42<P>This function is supposed to be used with the <a href="DVDTellDir.html"><code>DVDTellDir</code></a> function. You can use the <a href="DVDTellDir.html"><code>DVDTellDir</code></a> function to save the current location and restore the location later using the <code>DVDSeekDir</code> function.</P>
43<h2>See Also</h2>
44
45<p><code><a href="DVDTellDir.html">DVDTellDir</a><BR> <a href="DVDReadDir.html">DVDReadDir</a></code></p>
46<H2>Revision History</H2>
47<P>2006/03/01 Initial version.</P>
48
49<hr>
50<P>CONFIDENTIAL</p>
51</BODY>
52</HTML>
53