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>MEMGetAllocatableSizeForFrmHeapEx</TITLE>
12
13</HEAD>
14
15
16<BODY>
17
18
19<H1>MEMGetAllocatableSizeForFrmHeapEx</H1>
20
21<H2>Syntax</H2>
22<DL><DD><PRE class="construction">
23#include &lt;revolution/mem.h&gt;
24
25u32 MEMGetAllocatableSizeForFrmHeapEx(
26                                 MEMHeapHandle     heap,
27                                 int               alignment );
28</PRE></DD></DL>
29
30<H2>Arguments</H2>
31<TABLE class="arguments" border="1">
32  <TR>
33<TH><STRONG><EM><CODE>heap</CODE></EM></STRONG></TH>
34<TD>Frame heap handle</TD>
35  </TR>
36  <TR>
37<TH><STRONG><EM><CODE>alignment</CODE></EM></STRONG></TH>
38<TD>Memory block alignment. Can take any of the following values: 4, 8, 16, 32, 64, 128.</TD>
39  </TR>
40</TABLE>
41
42<H2>Return Values</H2>
43<P>Returns the maximum size (in bytes) of memory blocks allocatable from the available region in the frame heap.</P>
44
45<H2>Description</H2>
46<P>Gets the maximum size (in bytes) of memory blocks allocatable from the available region in the frame heap.</P>
47<P>Memory block alignment is specified by <SPAN class="argument">alignment</SPAN>. The size of the allocatable memory block changes depending on the alignment value.</P>
48
49<H2>See Also</H2>
50<P class="reference">
51<A href="MEMGetAllocatableSizeForFrmHeap.html">MEMGetAllocatableSizeForFrmHeap</A>,
52<A href="MEMAllocFromFrmHeap.html">MEMAllocFromFrmHeap</A>,
53<A href="MEMAllocFromFrmHeapEx.html">MEMAllocFromFrmHeapEx</A>
54</P>
55
56<H2>Revision History</H2>
57<P>
582006/03/01 Initial version.<BR>
59</P>
60
61<hr><p>CONFIDENTIAL</p></body>
62</HTML>
63