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 <!-- �^�C�g���� --> 12 <TITLE>MEMGetAllocatableSizeForExpHeapEx</TITLE> 13 14</HEAD> 15 16 17<BODY> 18 19 20<!-- �^�C�g���� --> 21<H1>MEMGetAllocatableSizeForExpHeapEx</H1> 22 23 24<H2>C Specification</H2> 25<PRE class="construction">#include <revolution/mem.h> 26 27u32 MEMGetAllocatableSizeForExpHeapEx( 28 MEMHeapHandle heap, 29 int alignment );</PRE> 30 31 32<H2>Arguments</H2> 33<TABLE border="1"> 34 35 <TR> 36 <TD><STRONG><EM><CODE>heap</CODE></EM></STRONG></TD> 37 <TD>Expanded heap handle.</TD> 38</TR> 39 <TR> 40<TD><STRONG><EM><CODE>alignment</CODE></EM></STRONG></TD> 41<TD>Memory block alignment. Specify the following values: 4, 8, 16, 32, 64, 128.</TD> 42 </TR> 43 </TABLE> 44 45 46<H2>Return Values</H2> 47<P>Returns the largest size in bytes of the allocatable memory block from the free region in the expanded heap.</P> 48<H2>Description</H2> 49<P>This function obtains the largest size in bytes of the allocatable memory block from the free region in the expanded heap.</P> 50<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> 51<H2>See Also</H2> 52<P class="reference"><A href="MEMGetAllocatableSizeForExpHeap.html"><CODE>MEMGetAllocatableSizeForExpHeap</CODE></A>, <A href="MEMGetTotalFreeSizeForExpHeap.html"><CODE>MEMGetTotalFreeSizeForExpHeap</CODE></A>, <A href="MEMAllocFromExpHeap.html"><CODE>MEMAllocFromExpHeap</CODE></A>, <A href="MEMAllocFromExpHeapEx.html"><CODE>MEMAllocFromExpHeapEx</CODE></A></P> 53 54 55<H2>Revision History</H2> 56<P>2006/03/01 Initial version.</P> 57 58 59<hr> 60<P>CONFIDENTIAL</p> 61</BODY> 62</HTML> 63