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>WMDisconnectCallback</title> 8<LINK rel="stylesheet" href="../../css/nitro.css" type="text/css"> 9</head> 10<body> 11<h1 align="left">WMDisconnectCallback</h1> 12<h2>Definition</h2> 13<dl> 14 <dd> 15<CODE>#include <nitro/wm.h></CODE><BR> 16 <PRE><CODE>typedef struct WMDisconnectCallback 17{ 18 u16 apiid; 19 u16 errcode; 20 u16 wlCmdID; 21 u16 wlResult; 22 u16 tryBitmap; 23 u16 disconnectedBitmap; 24} WMDisconnectCallback;</CODE></PRE> 25 </dd> 26</dl><h2>Elements</h2> 27<TABLE border="1" width="100%"> 28 <TBODY> 29 <TR> 30 <TD width="200"><CODE>apiid</CODE></TD> 31 <TD width="800">This is the ID of the API that acts as the source for the callback generation. It is synonymous to the <code><A href="WMApiid.html">WMApiid</A></code> enumerated type. 32 Here, the value is fixed to <code>WM_APIID_DISCONNECT</code>. 33 </TD> 34 </TR> 35 <TR> 36 <TD width="200"><CODE>errcode</CODE></TD> 37 <TD width="800">This is the result of the asynchronous process. It is synonymous to the <code><A href="WMErrCode.html">WMErrCode</A></code> enumerated type.</TD> 38 </TR> 39 <TR> 40 <TD width="200"><CODE>wlCmdID</CODE></TD> 41 <TD width="800">If errcode is <code>WM_ERRCODE_FAILED</code>, this function will store the ID of the command that was in error in the wireless firmware.</TD> 42 </TR> 43 <TR> 44 <TD width="200"><CODE>wlResult</CODE></TD> 45 <TD width="800">If errcode is <code>WM_ERRCODE_FAILED</code>, this function will store the code was the source of the error in the wireless firmware.</TD> 46 </TR> 47 <TR> 48 <TD width="200"><CODE>tryBitmap</CODE></TD> 49 <TD width="800">Regardless of errcode, stores the AID bitmap of the device which is specified to disconnect when command is called.</TD> 50 </TR> 51 <TR> 52 <TD width="200"><CODE>disconnectedBitmap</CODE></TD> 53 <TD width="800">Regardless of errcode, stores the AID bitmap of the device which is disconnected as the result of the command call.</TD> 54 </TR> 55 </TBODY> 56</TABLE> 57<H2>Description</H2> 58<P> 59This structure is passed to the callback function for the <A href="WM_Disconnect.html"><code>WM_Disconnect</code></A> and <A href="WM_DisconnectChildren.html"><code>WM_DisconnectChildren</code></A> functions. 60</P> 61<H2>Revision History</H2> 62<P> 632004/10/26 Initial version. 64</P> 65<hr><p>CONFIDENTIAL</p></body> 66</html> 67