1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<html>
3
4<head>
5<META http-equiv="Content-Type" content="text/html; charset=windows-1252">
6<META name="GENERATOR" content="IBM WebSphere Studio Homepage Builder Version 8.0.0.0 for Windows">
7<META http-equiv="Content-Style-Type" content="text/css">
8<title>WMBeaconRecvIndCallback</title>
9<LINK rel="stylesheet" href="../../css/nitro.css" type="text/css">
10</head>
11
12<body>
13
14<h1 align="left">WMReaconRecvIndCallback</h1>
15
16<h2>Definition</h2>
17
18<dl>
19  <dd>
20<CODE>#include &lt;nitro/wm.h&gt;</CODE><BR>
21  <PRE><CODE>typedef struct WMBeaconRecvIndCallback
22{
23    u16         apiid;
24    u16         errcode;
25    u16         state;
26    u16         tgid;
27    u16         wmstate;
28    u16         gameInfoLength;
29    <A href="WMGameInfo.html">WMGameInfo</A>  gameInfo;
30} WMBeaconRecvIndCallback;</CODE></PRE>
31  </dd>
32
33</dl><h2>Elements</h2>
34<TABLE border="1" width="100%">
35  <TBODY>
36    <TR>
37      <TD width="200"><em><strong><font face="Courier New">apiid</font></strong></em></TD>
38      <TD width="800">This is the ID of the API that acts as the source for the callback generation. It is equivalent to the <code><A href="WMApiid.html">WMApiid</A></code> enumerated type.
39      In this case, it is fixed in <code>WM_APIID_INDICATION</code>.
40      </TD>
41    </TR>
42    <TR>
43      <TD width="200"><em><strong><font face="Courier New">errcode</font></strong></em></TD>
44      <TD width="800">This is the result of the asynchronous process. It is equivalent to the <code><A href="WMErrCode.html">WMErrCode</A></code> enumerated type.</TD>
45    </TR>
46    <TR>
47      <TD width="200"><em><strong><font face="Courier New">state</font></strong></em></TD>
48      <TD width="800">If the errcode is <code>WM_ERRCODE_SUCCESS</code>, the <A href="WMStateCode.html">factor type</A> generated by the callback will be stored here.
49      In this case, it is fixed in <code>WM_STATECODE_BEACON_RECV</code>.
50      </TD>
51    </TR>
52    <TR>
53      <TD width="200"><em><strong><font face="Courier New"><font color="#808080">tgid</font></font></strong></em></TD>
54      <TD width="800"><font color="#808080"><font color="#808080">The TGID of the received beacon is stored here.<BR>
55      This member still exists for compatibility purposes.</font></TD>
56    </TR>
57    <TR>
58      <TD width="200"><em><strong><font face="Courier New">wmstate</font></strong></em></TD>
59      <TD width="800">The <code><A href="wm_state_diagram.html">WM state</A></code> when the beacon is received is stored here.</TD>
60    </TR>
61    <TR>
62      <TD width="200"><em><strong><font face="Courier New">gameInfoLength</font></strong></em></TD>
63      <TD width="800">The length of <em><strong><code>gameInfo</code></strong></em> is stored here.</TD>
64    </TR>
65    <TR>
66      <TD width="200"><em><strong><font face="Courier New">gameInfo</font></strong></em></TD>
67      <TD width="800">This is the received <code><a href="WMGameInfo.html">WMGameInfo</a></code> structure.</TD>
68    </TR>
69  </TBODY>
70</TABLE>
71
72<H2>Description</H2>
73<P>
74This is the structure passed when the callback function configured with <code><A href="WM_SetIndCallback.html">WM_SetIndCallback</A></code> is called by the <code><A href="WMStateCode.html">WM_STATECODE_BEACON_RECV</A></code> factor type.
75</P>
76
77<H2>Revision History</H2>
78<P>
792005/02/01 Initial version.
80</P>
81<hr><p>CONFIDENTIAL</p></body>
82</html>
83