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.2.0 for Windows">
7<META http-equiv="Content-Style-Type" content="text/css">
8<title>WM_SetMPParameter</title>
9<LINK rel="stylesheet" href="../../css/nitro.css" type="text/css">
10</head>
11
12<body>
13
14<h1 align="left">WM_SetMPParameter&nbsp;<img src="../../image/NTR.gif"><img src="../../image/TWL.gif"></H1>
15<h2>Syntax</h2>
16<dl>
17  <dd><PRE><CODE>#include &lt;nitro/wm.h&gt;
18
19<A href="WMErrCode.html">WMErrCode</A> WM_SetMPParameter(
20        <A href="WMCallbackFunc.html">WMCallbackFunc</A>  callback ,
21        const <A href="WMMPParam.html">WMMPParam</A>* param
22);
23</CODE></PRE></dd>
24</dl>
25
26<h2>Arguments</h2>
27<table border="1" width="100%">
28  <tbody>
29    <TR>
30      <TD width="200"><EM><STRONG><FONT face="Courier New">callback</FONT></STRONG></EM></TD>
31      <TD width="800">Designates the callback function to call when the asynchronous process completes. This callback is called from within the interrupt handler.</TD>
32    </TR>
33    <TR>
34      <TD width="200"><EM><STRONG><FONT face="Courier New">param</FONT></STRONG></EM></TD>
35      <TD width="800">Pointer to the structure storing parameters used for MP communications.</TD>
36    </TR>
37   </tbody>
38</table>
39
40<h2>Return Values</h2>
41<p>Returns the results of the <CODE><A href="WMErrCode.html">WMErrCode</A></CODE> enumerated type process.</p>
42
43<H2>Description</H2>
44<P>Sets various parameters used for MP communications. Although this function may be called any time after <CODE>WM_Initialize</CODE>, some parameters can only be set during certain communication states. Basically, this function is called to make detailed MP settings after a connection has been established by <CODE><A href="WM_StartParent.html">WM_StartParent</A></CODE> or <CODE><A href="WM_StartConnect.html">WM_StartConnect</A></CODE> but before <CODE><A href="WM_StartMP.html">WM_StartMP</A></CODE> is called. The values set using this function are enabled until a return to <A href="wm_state_diagram.html">READY state</A>. In other words, once a value is set with this function, that value will continue to be used if <A href="WM_StartMP.html">WM_StartMP</A> is called sequentially, without WM returning to the <A href="wm_state_diagram.html">READY state</A>. However, settings specified as arguments to the <A href="WM_StartMP.html">WM_StartMP</A> and <A href="WM_StartMPEx.html">WM_StartMPEx</A> functions are temporarily overwritten during the <A href="wm_state_diagram.html">MP_PARENT or MP_CHILD states</A> that WM enters as a result of that function being called.</P>
45<P>For details on parameters that can be set, see the <CODE><A href="WMMPParam.html">WMMPParam</A></CODE> structure.</P>
46<h2>See Also</h2>
47<P><code><A href="WMMPParam.html">WMMPParam</A>, <A href="WM_StartMP.html">WM_StartMP</A>, <A href="WM_StartMPEx.html">WM_StartMPEx</A>, <A href="WM_SetParentParameter.html">WM_SetParentParameter</A></code></P>
48
49<H2>Revision History</H2>
50<P>
512007/05/02 Added a description of the active range of setting values.<BR> 2005/11/24 Initial version.<BR>
52</P>
53<hr><p>CONFIDENTIAL</p></body>
54</html>
55