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>MEMGetFillValForHeap</TITLE>
13
14</HEAD>
15
16
17<BODY>
18
19
20<!-- �^�C�g���� -->
21<H1>MEMGetFillValForHeap</H1>
22
23
24<H2>C Specification</H2>
25<PRE class="construction">#include &lt;revolution/mem.h&gt;
26
27u32 MEMGetFillValForHeap( int type );
28</PRE>
29
30
31<H2>Arguments</H2>
32<TABLE border="1">
33<TR>
34	<TD><code><EM><STRONG>type</STRONG></EM></code></TD>
35	<TD>Process type that sets the value (see description below).</TD>
36</TR>
37  </TABLE>
38
39
40<H2>Return Values</H2>
41<P>Returns the value that fills in the designated memory type.</P>
42<H2>Description</H2>
43<P>This function obtains the 32-bit value in memory at heap creation and memory block allocation/freeing. Each value can be set to a differnt value at heap creation and memory block allocation/freeing. The type that obtains these values is specified by <code><EM><STRONG>type</STRONG></EM></code>. The <STRONG><EM><CODE>type</CODE></EM></STRONG> argument takes one of the following values:</P>
44<TABLE border="1">
45
46    <TR>
47<TD><CODE>MEM_HEAP_FILL_NOUSE</CODE></TD>
48<TD>At heap creation.</TD>
49    </TR>
50    <TR>
51<TD><CODE>MEM_HEAP_FILL_ALLOC</CODE></TD>
52<TD>At memory block allocation.</TD>
53    </TR>
54    <TR>
55<TD><CODE>MEM_HEAP_FILL_FREE</CODE></TD>
56<TD>At memory block freeing.</TD>
57    </TR>
58
59</TABLE>
60<P>This function is for debugging. Doesn't function in the final ROM version library (<CODE>FINALROM</CODE>).</P>
61<H2>See Also</H2>
62<P><A href="MEMSetFillValForHeap.html"><CODE>MEMSetFillValForHeap</CODE></A>, <A href="../ExpHeap/MEMCreateExpHeapEx.html"><CODE>MEMCreateExpHeapEx</CODE></A>, <A href="../FrmHeap/MEMCreateFrmHeapEx.html"><CODE>MEMCreateFrmHeapEx</CODE></A>, <A href="../UnitHeap/MEMCreateUnitHeapEx.html"><CODE>MEMCreateUnitHeapEx</CODE></A></P>
63
64
65
66<H2>Revision History</H2>
67<P>03/01/2006 Initial version.</P>
68
69
70</BODY>
71</HTML>
72