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<H1>MEMGetAllocatableSizeForFrmHeapEx</H1>
19
20
21<H2>C Specification</H2>
22<PRE class="construction">#include &lt;revolution/mem.h&gt;
23
24u32 MEMGetAllocatableSizeForFrmHeapEx(
25MEMHeapHandle    heap,
26int              alignment);</PRE>
27
28<H2>Arguments</H2>
29<TABLE border="1">
30
31    <TR>
32	<TD><STRONG><EM><CODE>heap</CODE></EM></STRONG></TD>
33	<TD>Frame heap handle.</TD>
34</TR>
35    <TR>
36<TD><STRONG><EM><CODE>alignment</CODE></EM></STRONG></TD>
37<TD>Memory block alignment. Specify the following values: 4, 8, 16, 32, 64, 128.</TD>
38    </TR>
39  </TABLE>
40
41
42<H2>Return Values</H2>
43<P>Returns the largest size in bytes of the allocatable memory block from the free region in the frame heap.</P>
44<H2>Description</H2>
45<P>This function obtains the largest size in bytes of the allocatable memory block from the free region in the frame heap.</P>
46<P>Memory block alignment is specified by <STRONG><EM><CODE>alignment</CODE></EM></STRONG>. The size of the allocatable memory block changes depending on the alignment value.</P>
47<H2>See Also</H2>
48<P class="reference"><A href="MEMGetAllocatableSizeForFrmHeap.html"><CODE>MEMGetAllocatableSizeForFrmHeap</CODE></A>, <A href="MEMAllocFromFrmHeap.html"><CODE>MEMAllocFromFrmHeap</CODE></A>, <A href="MEMAllocFromFrmHeapEx.html"><CODE>MEMAllocFromFrmHeapEx</CODE></A></P>
49
50
51<H2>Revision History</H2>
52<P>03/01/2006 Initial version.</P>
53
54
55</BODY>
56</HTML>
57