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 http-equiv="Content-Style-Type" content="text/css"> 7<META name="GENERATOR" content="IBM WebSphere Studio Homepage Builder Version 8.0.0.0 for Windows"> 8 9<LINK rel="stylesheet" type="text/css" href="../../CSS/revolution.css"> 10 11 <TITLE>MEMGetHeapTotalUsableSize</TITLE> 12 13</HEAD> 14 15 16<BODY> 17 18 19<H1>MEMGetHeapTotalUsableSize</H1> 20 21 22<H2>Syntax</H2> 23<DL><DD><PRE class="construction"> 24#include <revolution/mem.h> 25 26s32 MEMGetHeapTotalUsableSize( MEMHeapHandle heap ); 27</PRE></DD></DL> 28 29<H2>Arguments</H2> 30<TABLE class="arguments" border="1"> 31 <TR> 32<TH><STRONG><EM><CODE>heap</CODE></EM></STRONG></TH> 33<TD>Heap handle passed to the function.</TD> 34 </TR> 35</TABLE> 36 37<H2>Return Values</H2> 38<P>Returns the total memory size allocated for the heap (not including the header).</P> 39 40 41<H2>Description</H2> 42<P>Obtains the total memory size allocated for the heap (not including the header).</P> 43<P> 44To get the occupied size in memory, including the header, use the <CODE><A href="MEMGetHeapTotalSize.html">MEMGetHeapTotalSize</A></CODE> function. 45</P> 46 47<H2>See Also</H2> 48<P class="reference"> 49<A href="MEMGetHeapTotalSize.html">MEMGetHeapTotalSize</A> 50</P> 51 52<H2>Revision History</H2> 53<P> 542006/03/01 Initial version.<BR> 55</P> 56 57<hr><p>CONFIDENTIAL</p></body> 58</HTML> 59