#include <nitro/wm.h>
typedef struct WMDisconnectCallback
{
u16 apiid;
u16 errcode;
u16 wlCmdID;
u16 wlResult;
u16 tryBitmap;
u16 disconnectedBitmap;
} WMDisconnectCallback;
apiid | This is the ID of the API that acts as the source for the callback generation. It is synonymous to the WMApiid enumerated type. Here, the value is fixed to WM_APIID_DISCONNECT .
|
errcode | This is the result of the asynchronous process. It is synonymous to the WMErrCode enumerated type. |
wlCmdID | If errcode is WM_ERRCODE_FAILED , this function will store the ID of the command that was in error in the wireless firmware. |
wlResult | If errcode is WM_ERRCODE_FAILED , this function will store the code was the source of the error in the 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. |
This is the structure passed to the callback function for WM_Disconnect
and WM_DisconnectChildren
.
10/26/2004 Initial version