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>THPSimpleCalcNeedMemory</title>
10</head>
11
12<body>
13
14<h1>THPSimpleCalcNeedMemory</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>u32 THPSimpleCalcNeedMemory(void);</CODE></pre>
21  </dd>
22</dl>
23
24<h2>Arguments</h2>
25<p>None.</p>
26
27<h2>Return Values</h2>
28<p>Returns the work area size, if successful; 0 otherwise. </p>
29
30<H2>Description</H2>
31<p>This function calculates the size of the work area needed by the simple player to play the THP movie data. </p>
32
33<p>The work area size depends on the THP movie data. Always call this function to obtain the correct size information when starting to play new THP movie data.  </p>
34
35
36<H2>See Also</H2>
37
38<H2>Revision History</H2>
39<P>2006/03/01 Initial version.</P>
40
41<hr>
42<P>CONFIDENTIAL</p>
43</BODY>
44</HTML>