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>THPPlayerCalcNeedMemory</title> 10</head> 11 12<body> 13 14<h1>THPPlayerCalcNeedMemory</h1> 15 16<h2>Syntax</h2> 17<dl><dd><pre class="construction"> 18#include "THPPlayer.h" 19 20u32 THPPlayerCalcNeedMemory(void); 21</pre></dd></dl> 22 23<h2>Arguments</h2> 24<p>None.</p> 25 26<h2>Return Values</h2> 27<p>Returns the work area size if successful, and 0 if it fails.</p> 28 29<H2>Description</H2> 30<p>The <code>THPPlayerCalcNeedMemory</code> function calculates the size of the work area needed by the player to play the THP movie data.</p> 31 32<p>The work area size depends on the THP movie data. When starting to play new THP movie data, be sure to call this function to obtain the correct size information.</p> 33 34<H2>See Also</H2> 35<p>None.</p> 36 37<H2>Revision History</H2> 38<P> 392006/03/01 Initial version.<br> 40</P> 41 42<hr><p>CONFIDENTIAL</p></body> 43</html> 44