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>AXGetMemorySize</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">AXGetMemorySize</h1> 15 16<h2>C Specification</h2> 17 18<BLOCKQUOTE> 19<pre><code>#include <revolution.h> 20 21#define AXGetMemorySize(num) ((sizeof(AXPB) + sizeof(AXPBITDBUFFER) + sizeof(AXVPB)) * num)</code> 22</BLOCKQUOTE> 23 24<h2>Arguments</h2> 25 26<table border="1" cellpadding="3" cellspacing="0.1"> 27 <tr> 28<td width="120" bgcolor="#ffffe8"><em><strong><code>num</code></strong></em></td> 29 <td width="520">Maximum voice count.</td> 30 </tr> 31</table> 32 33<h2>Return Values</h2> 34 35<p>The memory size (in bytes) required by the AX library.</p> 36 37<h2>Description</h2> 38 39<p>This macro returns the memory size required by the AX library in bytes. If using <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 beforehand. </p> 40 41<h2>See Also</h2> 42 43<p> 44<code> 45<a href="AXInitSpecifyMem.html">AXInitSpecifyMem</a>, 46<a href="AXInitExSpecifyMem.html">AXInitExSpecifyMem</a> 47</code> 48</p> 49 50<h2>Revision History</h2> 51 52<P> 532006/10/24 Initial version. 54</P> 55 56<hr> 57<P>CONFIDENTIAL</p> 58</BODY> 59</HTML> 60