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="Microsoft FrontPage 5.0">
7<META http-equiv="Content-Style-Type" content="text/css">
8<LINK rel="stylesheet" type="text/css" href="../../CSS/revolution.css">
9<title>THPSimpleOpen</title>
10</head>
11
12<body>
13
14<h1>THPSimpleOpen</h1>
15<h2>C Specification</h2>
16
17<dl>
18<dd><pre><code>#include &quot;THPSimple.h&quot;</code></pre>
19  </dd>
20<dd><pre><CODE>BOOL THPSimpleOpen(char *fileName);</CODE></pre>
21  </dd>
22</dl>
23
24<h2>Arguments</h2>
25
26<table border="1" cellpadding="3" cellspacing="0.1">
27  <tr>
28<td width="120" bgcolor="#ffffe8"><strong><em><CODE>fileName</CODE></em></strong></td>
29<td width="520">The name of the THP movie data file.</td>
30  </tr>
31</table>
32
33<h2>Return Values</h2>
34<p>Returns <CODE>TRUE</CODE> if successful; <CODE>FALSE</CODE> otherwise.</p>
35
36<H2>Description</H2>
37<p>This function uses <code>DVDOpen</code> to open the THP movie data specified as an argument, and reads the header using the <code>DVDRead</code> function. It then gets the required information from the header it just read and checks to see if the specified data is extractable THP movie data. </p>
38
39<p>This function initializes the THP audio data's playback volume to 127. </p>
40
41
42<H2>See Also</H2>
43
44<H2>Revision History</H2>
45<P>03/01/2006 Initial version.</P>
46
47</body>
48</html>