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>THPPlayerSetBuffer</title> 10</head> 11 12<body> 13 14<h1>THPPlayerSetBuffer</h1> 15<h2>C Specification</h2> 16 17<dl> 18<dd><pre><code>#include "THPPlayer.h"</code></pre> 19 </dd> 20<dd><pre><CODE>BOOL THPPlayerSetBuffer(u8 *buffer);</CODE></pre> 21 </dd> 22</dl> 23 24<h2>Arguments</h2> 25<table border="1" cellpadding="3" cellspacing="0.1"> 26 <tr> 27<td width="120" bgcolor="#ffffe8"><strong><em><FONT face="Courier New">buffer</FONT></em></strong></td> 28<td width="520">Pointer to the work buffer.</td> 29 </tr> 30</table> 31 32<h2>Return Values</h2> 33<p>Returns <CODE>TRUE</CODE> if successful; <CODE>FALSE</CODE> otherwise.</p> 34 35<H2>Description</H2> 36<p>In the player, this function registers the work buffer that the argument specifies. </p> 37 38<p>The size of the work buffer must match the size that the <a href="THPPlayerCalcNeedMemory.html"><code>THPPlayerCalcNeedMemory</code></a> function returns. </p> 39 40 41<H2>See Also</H2> 42<P><a href="THPPlayerCalcNeedMemory.html"><code>THPPlayerCalcNeedMemory</code></a></P> 43 44<H2>Revision History</H2> 45<P>03/01/2006 Initial version.</P> 46 47</body> 48</html> 49