1<html> 2 3<head> 4<meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> 5<LINK rel="stylesheet" type="text/css" href="../CSS/revolution.css"> 6 7<title>MPFSInit</title> 8</head> 9 10<body> 11<h1>MPFSInit</h1> 12 13<h2>C Specification</h2> 14<p> 15<dl> 16 <dd><pre><code>#include <revolution/mpfs.h></code></pre> 17 </dd> 18 <dd><pre><code>void MPFSInit( <a href="../mp/MPConfig.html">MPConfig</a> *<i><b>config</b></i>, MEMHeapHandle heap, const void *program );</code></pre> 19 </dd> 20</dl> 21</p> 22 23<h2>Arguments</h2> 24<p> 25<table border="1"> 26 <tr> 27<td valign="top" width="120" bgcolor="#ffffe8"><code><strong><em>config</em></strong></code></td> 28<td width="520">The structure that specifies the <a href="../mp/MPStartup.html">MPStartup</a> function.</td> 29 </tr> 30 <tr> 31<td valign="top" width="120" bgcolor="#ffffe8"><code><strong><em><STRONG><EM><CODE>heap</CODE></EM></STRONG></em></strong></code></td> 32<td width="520">The handle of the memory heap that is used inside the MPFS library.</td> 33 </tr> 34 <tr> 35<td valign="top" width="120" bgcolor="#ffffe8"><code><strong><em>program</em></strong></code></td> 36<td width="520">Pointer to the memory where the Nintendo DS program to be distributed is loaded.<br />This is the same as what is used by the MPDL library.</td> 37 </tr> 38</table> 39</p> 40 41<h2>Return Values</h2> 42 43<P>None.</P> 44 45<h2>Description</h2> 46 47<p>Initializes the MPFS library an prepares for its use.<br />This function must be called before the <code><a href="../mp/MPStartup.html">MPStartup</a></code> function is called.</p> 48 49<h2>See Also</h2> 50<p> 51<code><a href="./MPFSEnd.html">MPFSEnd()</a></code>, <code><a href="../mp/MPConfig.html">MPConfig</a></code> 52</p> 53 54<h2>Revision History</h2> 55 56<p>2007/02/09 Initial version.</p> 57 58<hr><p>CONFIDENTIAL</p></body> 59</html>