1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 2<html> 3<head> 4<META http-equiv="Content-Type" content="text/html; charset=windows-1252"> 5<META name="GENERATOR" content="IBM WebSphere Studio Homepage Builder Version 8.0.0.0 for Windows"> 6<META http-equiv="Content-Style-Type" content="text/css"> 7<title>WMCallback</title> 8<LINK rel="stylesheet" href="../../css/nitro.css" type="text/css"> 9</head> 10<body> 11<h1 align="left">WMCallback</h1> 12<h2>Definition</h2> 13<dl> 14 <dd> 15<CODE>#include <nitro/wm.h></CODE><BR> 16 <PRE><CODE>typedef struct WMCallback 17{ 18 u16 apiid; 19 u16 errcode; 20 u16 wlCmdID; 21 u16 wlResult; 22} WMCallback;</CODE></PRE> 23 </dd> 24</dl><h2>Elements</h2> 25<TABLE border="1" width="100%"> 26 <TBODY> 27 <TR> 28 <TD width="200"><code>apiid</code></TD> 29 <TD width="800">ID of the API that acts as the source for the callback generation. This argument is the same as the <a href="WMApiid.html"><code>WMApiid</code></a> enumerated type.</TD> 30 </TR> 31 <TR> 32 <TD width="200"><code>errcode</code></TD> 33 <TD width="800">Result of the asynchronous process. It is equivalent to the <A href="WMErrCode.html"><code>WMErrCode</code></A> enumerated type.</TD> 34 </TR> 35 <TR> 36 <TD width="200"><code>wlCmdID</code></TD> 37 <TD width="800">If <CODE>errcode</CODE> is <code>WM_ERRCODE_FAILED</code>, this function will store the ID of the command that was in error in the wireless firmware.</TD> 38 </TR> 39 <TR> 40 <TD width="200"><code>wlResult</code></TD> 41 <TD width="800">If <CODE>errcode</CODE> is <code>WM_ERRCODE_FAILED</code>, this function will store the code was the source of the error in the wireless firmware.</TD> 42 </TR> 43 </TBODY> 44</TABLE> 45<H2>Description</H2> 46<P> 47This structure is passed to the callback function of a normal WM asynchronous process function. 48</P> 49<H2>Revision History</H2> 50<P> 512004/07/29 Initial version. 52</P> 53<hr><p>CONFIDENTIAL</p></body> 54</html> 55