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>MEMInitAllocatorForExpHeap</TITLE>
12
13</HEAD>
14
15
16<BODY>
17
18
19<H1>MEMInitAllocatorForExpHeap</H1>
20
21
22<H2>Syntax</H2>
23<DL><DD><PRE class="construction">
24#include &lt;revolution/mem.h&gt;
25
26void MEMInitAllocatorForExpHeap(
27                        MEMAllocator*    pAllocator,
28                        MEMHeapHandle    heap,
29                        int              alignment );
30</PRE></DD></DL>
31
32<H2>Arguments</H2>
33<TABLE class="arguments" border="1">
34  <TR>
35<TH><STRONG><EM><CODE>pAllocator</CODE></EM></STRONG></TH>
36<TD>Address of the <CODE>MemAllocator</CODE> structure</TD>
37  </TR>
38  <TR>
39<TH><STRONG><EM><CODE>heap</CODE></EM></STRONG></TH>
40<TD>Expanded heap handle.</TD>
41  </TR>
42  <TR>
43<TH><STRONG><EM><CODE>alignment</CODE></EM></STRONG></TH>
44<TD>Alignment value applied to each memory block to allocate.</TD>
45  </TR>
46</TABLE>
47
48<H2>Return Values</H2>
49<P>None.</P>
50
51<H2>Description</H2>
52<P>Initializes the allocator to allocate and free memory from the expanded heap. The alignment values of all memory blocks allocated through this allocator are specified by <SPAN class="argument">alignment</SPAN>.</P>
53
54<H2>See Also</H2>
55<P class="reference">
56<A href="MEMInitAllocatorForFrmHeap.html">MEMInitAllocatorForFrmHeap</A>,
57<A href="MEMInitAllocatorForUnitHeap.html">MEMInitAllocatorForUnitHeap</A>,
58<A href="MEMInitAllocatorForOSHeap.html">MEMInitAllocatorForOSHeap</A>
59</P>
60
61<H2>Revision History</H2>
62<P>
632006/03/01 Initial version.<BR>
64</P>
65
66<hr><p>CONFIDENTIAL</p></body>
67</HTML>
68