#include <nitro/wm.h>
typedef struct WMCallback
{
u16 apiid;
u16 errcode;
u16 wlCmdID;
u16 wlResult;
} WMCallback;
apiid | This is the ID of the API that acts as the source for the callback generation. This argument is the same as the WMApiid enumerated type. |
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. |
This structure is passed to the callback function of a normal WM asynchronous process function.
07/29/2004 Initial version