1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 2<html> 3 4<head> 5<LINK rel="stylesheet" type="text/css" href="../../CSS/revolution.css"> 6<title>AXGetGetMemorySize</title> 7<META http-equiv="Content-Type" content="text/html; charset=windows-1252"> 8<META name="GENERATOR" content="IBM WebSphere Studio Homepage Builder Version 6.5.0.0 for Windows"> 9<META http-equiv="Content-Style-Type" content="text/css"> 10</head> 11 12<body> 13 14<h1 align="left">AXGetGetMemorySize</h1> 15 16<h2>Syntax</h2> 17<dl><dd><pre class="construction"> 18#include <revolution/ax.h> 19 20#define AXGetMemorySize(num) ((sizeof(AXPB) + sizeof(AXPBITDBUFFER) + sizeof(AXVPB)) * num)</code> 21</pre></dd></dl> 22 23<h2>Arguments</h2> 24 25<TABLE class="arguments" border="1" > 26 <tr> 27<th>num</th> 28<td>Maximum voice count.</td> 29 </tr> 30</table> 31 32<h2>Return Values</h2> 33<p>The memory size (in bytes) required by the AX library.</p> 34 35<h2>Description</h2> 36<p>This macro returns the memory size (in bytes) required by the AX library. When using the <a href="AXInitSpecifyMem.html"><code>AXInitSpecifyMem</code></a> or <a href="AXInitExSpecifyMem.html"><code>AXInitExSpecifyMem</code></a> function for AX library initialization, a memory space of the size returned by this macro needs to be reserved in advance.</p> 37 38<h2>See Also</h2> 39<p class="reference"> 40<a href="AXInitSpecifyMem.html"><CODE>AXInitSpecifyMem</CODE></a>, <a href="AXInitExSpecifyMem.html"><CODE>AXInitExSpecifyMem</CODE></a> 41</p> 42 43<h2>Revision History</h2> 44<P> 452006/10/24 Initial version.<br> 46</P> 47 48<hr><p>CONFIDENTIAL</p></body> 49</html> 50