#include <nitro/wm.h>
typedef struct WMDisconnectCallback
{
u16 apiid ;
u16 errcode ;
u16 wlCmdID ;
u16 wlResult ;
u16 tryBitmap ;
u16 disconnectedBitmap ;
} WMDisconnectCallback;
This is the structure passed to the callback function for WM_Disconnect and WM_DisconnectChildren.
apiid |
ID of the API where the callback originated The same as enumerated type WMApiid.Here, the value is fixed to WM_APIID_DISCONNECT. |
errcode |
The asynchronous process result. The same as enumerated type WMErrCode. |
wlCmdID |
If errcode is WM_ERRCODE_FAILED, stores the ID of the command that generated error in wireless firmware. |
wlResult |
If errcode is WM_ERRCODE_FAILED, stores the factor code that generated error in wireless firmware. |
tryBitmap |
Regardless of errcode, stores the AID bitmap of the device which is specified to disconnect when command is called. |
disconnectedBitmap |
Regardless of errcode, stores the AID bitmap of the device which is disconnected as the result of the command call. |
10/26/2004 Initial version