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>MEMGetAllocDirForMBlockExpHeap</TITLE>
12
13</HEAD>
14
15
16<BODY>
17
18
19<H1>MEMGetAllocDirForMBlockExpHeap</H1>
20
21<H2>Syntax</H2>
22<DL><DD><PRE class="construction">
23#include &lt;revolution/mem.h&gt;
24
25u16 MEMGetAllocDirForMBlockExpHeap( const void* memBlock );
26</PRE></DD></DL>
27
28<H2>Arguments</H2>
29<TABLE class="arguments" border="1">
30  <TR>
31<TH><STRONG><EM><CODE>memBlock</CODE></EM></STRONG></TH>
32<TD>Pointer to the memory block that gets the allocation direction. Information about allocation direction is explained below.</TD>
33  </TR>
34</TABLE>
35
36<H2>Return Values</H2>
37<P>Returns the designated memory block allocation direction.</P>
38
39<H2>Description</H2>
40<P>This function obtains the allocation direction of the allocated memory block from the expanded heap.</P>
41<P>The allocation direction can be one of the following values:</P>
42<TABLE class="arguments" border="1">
43  <TR>
44<TH><CODE>MEM_EXPHEAP_ALLOC_DIR_FRONT</CODE></TH>
45<TD>Allocates from the bottom of the free region in the expanded heap when the memory block is allocated.</TD>
46  </TR>
47  <TR>
48<TH><CODE>MEM_EXPHEAP_ALLOC_DIR_REAR</CODE></TH>
49<TD>Allocates from the top of the free region in the expanded heap when the memory block is allocated.</TD>
50  </TR>
51</TABLE>
52
53<H2>See Also</H2>
54<P class="reference">
55<A href="MEMGetSizeForMBlockExpHeap.html">MEMGetSizeForMBlockExpHeap</A>,
56<A href="MEMGetGroupIDForMBlockExpHeap.html">MEMGetGroupIDForMBlockExpHeap</A>
57</P>
58
59<H2>Revision History</H2>
60<P>
612006/03/01 Initial version.<BR>
62</P>
63
64<hr><p>CONFIDENTIAL</p></body>
65</HTML>
66