1<html>
2
3<head>
4<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
5<LINK rel="stylesheet" type="text/css" href="../CSS/revolution.css">
6
7<title>MPSetUserGameInfo</title>
8</head>
9
10<body>
11<h1>MPSetUserGameInfo</h1>
12
13<h2>C Specification</h2>
14<p>
15<dl>
16  <dd><pre><code>#include &lt;revolution/mp.h&gt;</code></pre>
17  </dd>
18  <dd><pre><code>s32 MPSetUserGameInfo ( const void* <i><b>userGameInfo</b></i>, u32 <i><b>size</b></i> );</code></pre>
19  </dd>
20</dl>
21</p>
22
23<h2>Arguments</h2>
24<p>
25<table border="1">
26  <tr>
27<td valign="top" width="120" bgcolor="#ffffe8"><code><strong><em>userGameInfo</em></strong></code></td>
28<td width="520">UserGameInfo information that is loaded in the beacon</td>
29  </tr>
30  <tr>
31<td valign="top" width="120" bgcolor="#ffffe8"><code><strong><em>size</em></strong></code></td>
32<td width="520">Up to MP_GAMEINFO_USER_SIZE_MAX can be specified as a maximum size for userGameInfo.</td>
33  </tr>
34</table>
35</p>
36
37<h2>Return Values</h2>
38
39<P>Returns the processing result or a negative number if processing fails.</P>
40
41<h2>Description</h2>
42
43<p>This function sets the UserGameInfo for the beacon. The UserGameInfo information can be set to any value by the application. This function can be called after <code><a href="./MPStartup.html">MPStartup()</a></code> has run.</p>
44<p>To reflect the value set in this function in the send beacon, you must call the <code><a href="./MPUpdateBeacon.html">MPUpdateBeacon</a></code> function.</p>
45
46<h2>See Also</h2>
47<p>
48<code><a href="./MPSetEntryFlag.html">MPSetEntryFlag()</a></code>, <code><a href="./MPUpdateBeacon.html">MPUpdateBeacon()</a></code>, <code><a href="./MPUpdateBeaconAsync.html">MPUpdateBeaconAsync()</a></code>, <code><a href="./MPError.html">MPError</a></code>,
49</p>
50
51<h2>Revision History</h2>
52
53<p>
542007/09/26 Deleted unnecessary reference from 'See Also.'<br />2006/07/03 Initial version.
55</p>
56
57<hr><p>CONFIDENTIAL</p></body>
58</html>