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>MEMCreateFrmHeap</TITLE>
13
14</HEAD>
15
16
17<BODY>
18
19
20<!-- �^�C�g���� -->
21<H1>MEMCreateFrmHeap</H1>
22
23
24<H2>C Specification</H2>
25<PRE class="construction">#include &lt;revolution/mem.h&gt;
26
27MEMHeapHandle MEMCreateFrmHeap(
28void*  startAddress,
29u32             size );</PRE>
30
31
32<H2>Arguments</H2>
33<TABLE border="1">
34
35    <TR>
36	<TD><STRONG><EM><CODE>startAddress</CODE></EM></STRONG></TD>
37	<TD>Start address of the allocated memory region in the heap.</TD>
38</TR>
39    <TR>
40<TD><STRONG><EM><CODE>size</CODE></EM></STRONG></TD>
41<TD>Size in bytes of the memory region allocated to the heap.</TD>
42    </TR>
43  </TABLE>
44
45
46<H2>Return Values</H2>
47<P>Returns the heap handle when a heap can be created. Returns <CODE>MEM_HEAP_INVALID_HANDLE</CODE> (a <CODE>NULL</CODE> value) if a heap can't be created.</P>
48<H2>Description</H2>
49<P>Creates the frame heap. The heap region is a memory region that has a size specified by <STRONG><EM><CODE>size</CODE></EM></STRONG> beginning from the address specified by <STRONG><EM><CODE>startAddress</CODE></EM></STRONG>.</P>
50<H2>See Also</H2>
51<P class="reference">
52<A href="MEMCreateFrmHeapEx.html"><CODE>MEMCreateFrmHeapEx</CODE></A></P>
53
54
55<H2>Revision History</H2>
56<P>03/01/2006 Initial version.</P>
57
58
59</BODY>
60</HTML>
61