#include <nitro/wm.h>typedef struct WMIndCallback
{
u16 apiid;
u16 errcode;
u16 state;
u16 reason;
} WMIndCallback;
The structure that is passed to the callback function that is set in WM_SetIndCallback.
apiid |
Specifies the ID of the function that has become the callback generation source. This argument is the same as the WMApiid enumerated type. Here, it is fixed as WM_APIID_INDICATION.
|
errcode |
Specifies the asynchronous process results. This argument is the same as the WMErrCode enumerated type. |
state |
If errcode is WM_ERRCODE_SUCCESS, the WM Cause Code generated by the callback is stored. There are four causes:WM_STATECODE_BEACON_RECV,
|
reason |
When the error is generated, the code indicating the cause is stored. This argument is used internally for debugging the library. |
11/10/2004 Added text regarding the reason argument.
08/02/2004 Standardized structure names.
07/29/2004 Initial version.