WMBeaconRecvIndCallback

# WMReaconRecvIndCallback

## Definitions

  `#include <nitro/wm.h>`

      typedef struct WMBeaconRecvIndCallback
      {
      u16         apiid;
      u16         errcode;
      u16         state;
      u16         tgid;
      u16         wmstate;
      u16         gameInfoLength;
      WMGameInfo  gameInfo;
      } WMBeaconRecvIndCallback;

## Elements

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. In this case, it is fixed in `WM_APIID_INDICATION`.
errcode | This is the result of the asynchronous process. It is synonymous to the `WMErrCode` enumerated type.
state | If the errcode is `WM_ERRCODE_SUCCESS`, the factor type generated by the callback will be stored here. In this case, it is fixed in `WM_STATECODE_BEACON_RECV`.
tgid | The TGID of the received beacon is stored here. This member still exists for compatibility purposes.
wmstate | The `WM state` when the beacon is received is stored here.
gameInfoLength | The length of `gameInfo` is stored here.
gameInfo | This is the received `WMGameInfo` structure.

## Description

This is the structure passed when the callback function configured with `WM_SetIndCallback` is called by the `WM_STATECODE_BEACON_RECV` factor type.

## Revision History

02/01/2005 Initial version

CONFIDENTIAL