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 name="GENERATOR" content="IBM WebSphere Studio Homepage Builder Version 8.0.0.0 for Windows"> 7<META http-equiv="Content-Style-Type" content="text/css"> 8<TITLE>MB_FakeEntryToParent</TITLE> 9<LINK rel="stylesheet" href="../../css/nitro.css" type="text/css"> 10</head> 11 12<body> 13 14<h1 align="left">MB_FakeEntryToParent <IMG src="../../image/NTR.gif" width="24" height="12" border="0" align=middle><IMG src="../../image/TWL.gif" width="24" height="12" border="0" align=middle></h1> 15<h2>Syntax</h2> 16 17<dl> 18 <dd> 19<CODE>#include <nitro/mb/mb_fake_child.h></CODE><BR> 20 <BR> 21 <CODE>BOOL MB_FakeEntryToParent( u16 index );</CODE><br> 22 </dd> 23</dl> 24<h2>Arguments</h2> 25<TABLE border="1" width="100%"> 26 <TBODY> 27 <TR> 28 <TD width="13%"><EM><STRONG>index</STRONG></EM></TD> 29 <TD width="87%">The parent's management index, obtained during scanning. Specify this index to gain entry to the parent. 30 This index is obtained from a member of the scanning callback structure <a href="MBFakeScanCallback.html"><code>MBFakeScanCallback</code></a>.</TD> 31 </TR> 32 </TBODY> 33</TABLE> 34<h2>Return Values</h2> 35<p>TRUE if the argument is a valid parent index. FALSE otherwise.</p> 36 37<H2>Description</H2> 38<P>This function begins entry to a multiboot parent. The parent's specifications are performed using the parent's management index obtained during scanning. Executing this function leads automatically to this series of processes: <BR>Connect to parent -> Entry process -> Fake download process -> Boot preparations -> Disconnect.<BR><BR>The <CODE><A href="MB_FakeSetCStateCallback.html">MB_FakeSetCStateCallback</A></CODE> function sets a callback function to report the execution state. All processes have ended when the <code>MB_COMM_CSTATE_BOOT_READY</code> callback has been notified, so at that point it is okay to end the multiboot process using the <CODE><A href="MB_FakeEnd.html">MB_FakeEnd</A></CODE> function and begin the process of reconnecting to the parent device. If you cannot gain entry to the parent or if a communication error causes processing to terminate abnormally, you must temporarily end the multiboot process using the <CODE><A href="MB_FakeEnd.html">MB_FakeEnd</A></CODE> function, and then start over from the <CODE><A href="MB_FakeInit.html">MB_FakeInit</A></CODE> function. 39</p> 40<h2>See Also</h2> 41<p><code><a href="MB_FakeInit.html">MB_FakeInit</a>, <a href="MB_FakeEnd.html">MB_FakeEnd</a>, <a href="MB_FakeSetCStateCallback.html">MB_FakeSetCStateCallback</a></code></P> 42<H2>Revision History</H2> 43<P>2004/11/25 Initial version. 44</P> 45<hr><p>CONFIDENTIAL</p></body> 46</html> 47