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 7.0.0.0 for Windows">
7<META http-equiv="Content-Style-Type" content="text/css">
8<title>MB_CommResponseRequest</title>
9<LINK rel="stylesheet" href="../../css/nitro.css" type="text/css">
10</head>
11
12<body>
13
14<h1 align="left">MB_CommResponseRequest <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 &lt;nitro/mb.h&gt;</CODE><BR>
20  <BR>
21  <CODE>BOOL MB_CommResponseRequest(u16 child_aid, MBCommResponseRequestType ack)<br></CODE>
22  <br>
23  </dd>
24</dl>
25<h2>Arguments</h2>
26<p>
27<TABLE border="1" width="100%">
28  <TBODY>
29    <TR>
30      <TD width="13%"><EM><STRONG>child_aid</STRONG></EM></TD>
31      <TD width="87%">The aid that indicates the child device that sends the response</TD>
32    </TR>
33    <TR>
34      <TD width="13%"><EM><STRONG>ack</STRONG></EM></TD>
35      <TD width="87%">The enumerated value of the <a href="../mb_comm_response_request_type_const.html"><code>MBCommResponseRequestType</code></a> type that designates the response result to the child device.</TD>
36    </TR>
37  </TBODY>
38</TABLE>
39</p>
40
41<h2>Return Values</h2>
42<p>This function returns a value of TRUE if the designated child device is in a connection response wait state and the designated response type is valid. Otherwise, this function returns a value of FALSE.</p>
43
44<H2>Description</H2>
45<P>This function sends the connection response to the designated child device. The parent device is arbitrarily determined from the maximum number of connections in the game and the information at the time of the connection of each child device. This function must be used to notify the child device of the permission or denial of a connection. When the communications state callback of the parent device is <code>MB_COMM_PSTATE_REQUESTED</code>, this state indicates that the child device is waiting for this response notification. <BR>
46<h2>See Also</h2>
47<p><A href="../mb_comm_response_request_type_const.html"><code>MBCommResponseRequestType</code></A>, <A href="../mb_comm_pstate_const.html"><code>MBCommPState</code></A>, <A href="MB_CommGetParentState.html"><code>MB_CommGetParentState</code></A>, <A href="MB_StartParent.html"><code>MB_StartParent</code></A>, <A href="../common/MB_End.html"><code>MB_End</code></A></P>
48<H2>Revision History</H2>
49<P>
502004/08/27 Initial version.
51</P>
52<hr><p>CONFIDENTIAL</p></body>
53</html>
54