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>WBT_MpChildRecvHook</title>
9<LINK rel="stylesheet" href="../../css/nitro.css" type="text/css">
10</head>
11
12<body>
13
14<h1 align="left">WBT_MpChildRecvHook <img src="../../image/NTR.gif"><img src="../../image/TWL.gif"></h1>
15<h2>Syntax</h2>
16
17<dl>
18  <dd>
19<CODE>#include &lt;nitro/wbt.h&gt;</CODE><BR> <BR> <CODE>void WBT_MpChildRecvHook(const void *recv_buf, int recv_size);</CODE><br> <br>
20  </dd>
21</dl>
22<h2>Arguments</h2>
23<p>
24<TABLE border="1" width="100%">
25  <TBODY>
26    <TR>
27<TD width="13%"><CODE>recv_buf</CODE></TD>
28<TD width="87%">Child's receive buffer, used for WBT by functions such as <a href="../../wm/wm/WM_SetMPDataToPort.html"><code>WM_SetMPDataToPort</code></a> during MP communications.</TD>
29    </TR>
30    <TR>
31<TD width="13%"><CODE>recv_size</CODE></TD>
32<TD width="87%">Size of <code>recv_buf</code>.</TD>
33    </TR>
34  </TBODY>
35</TABLE>
36</p>
37
38<h2>Return Values</h2>
39<p>None.</p>
40
41<H2>Description</H2>
42<P>Notifies the WBT library of data that the WBT library child received by MP communication. Data based on the WBT library protocol is extracted from the receive buffer. Various commands are executed by repeating this function during MP communication.<br> <B>Note:</B> This function merely processes data based on the WBT protocol.<br> Call this function inside the MP data receive callback that is specified by functions such as <A href="../../wm/wm/WM_SetPortCallback.html"><code>WM_SetPortCallback</code></A>.)<br>
43
44<br> The completion callback generates in this call when any command is executed. Also, the <A href="../wbt_command_type_const.html"><code>WBT_CMD_SYSTEM_CALLBACK</code></A> callback may occur in this call when any command is received from a communication destination. <br>
45<h2>See Also</h2>
46<p><BR></P>
47<H2>Revision History</H2>
48<P>
492005/03/14 Corrected link destination error.<br /> 2005/02/18 Added cautionary notes about the relationship with the WM library.<br /> 2004/09/31 Initial version.
50</P>
51<hr><p>CONFIDENTIAL</p></body>
52</html>
53