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_CommSetParentStateCallback</title> 9<LINK rel="stylesheet" href="../../css/nitro.css" type="text/css"> 10</head> 11 12<body> 13 14<h1 align="left">MB_CommSetParentStateCallback <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.h></CODE><BR> 20 <BR> 21 <CODE>void MB_CommSetParentStateCallback(<A href="../mb_comm_pstate_callback_type.html">MBCommPStateCallback</A> callback);</CODE><br> 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>callback</STRONG></EM></TD> 31 <TD width="87%">Pointer to the callback function that notifies the parent state<br>This callback is called from the interrupt handler.</TD> 32 </TR> 33 </TBODY> 34</TABLE> 35</p> 36 37<h2>Return Values</h2> 38<p>None.</p> 39 40<H2>Description</H2> 41<P>This function sets the callback function for communicating the parent state. This callback is called each time an automatically occurring internal parent process enters a specific state. <BR> 42<h2>See Also</h2> 43<p><A href="../mb_comm_pstate_callback_type.html"><code>MBCommPStateCallback</code></A>, <A href="../mb_comm_pstate_const.html"><code>MBCommPState</code></A>, <A href="MB_StartParent.html"><code>MB_StartParent</code></A>, <A href="../common/MB_End.html"><code>MB_End</code></A> </P> 44<H2>Revision History</H2> 45<P> 462005/06/01 Added text indicating that the callback is called from the interrupt handler. <br> 2004/08/09 Initial version. 47</P> 48<hr><p>CONFIDENTIAL</p></body> 49</html> 50