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>MPSetEntryFlag</title> 8</head> 9 10<body> 11<h1>MPSetEntryFlag</h1> 12 13<h2>C Specification</h2> 14<p> 15<dl> 16 <dd><pre><code>#include <revolution/mp.h></code></pre> 17 </dd> 18 <dd><pre><code>s32 MPSetEntryFlag ( BOOL <i><b>entryFlag</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>entryFlag</em></strong></code></td> 28<td width="520">Returns TRUE if connection with a child device is permitted.</td> 29 </tr> 30</table> 31</p> 32 33<h2>Return Values</h2> 34 35<P>Returns the processing results or a negative number if processing fails.</P> 36 37<h2>Description</h2> 38 39<p>Changes the connection permission settings. This function can be used after <code><a href="./MPStartup.html">MPStartup()</a></code> is run.</p> 40<p>When set to FALSE, when a child attempts connection it is automatically disconnected internally. In addition, the connection permission flag included on the beacon is changed.</p> 41<p>To reflect the value set in this function in the send beacon, you must call <code><a href="./MPUpdateBeacon.html">MPUpdateBeacon</a></code>.</p> 42 43<h2>See Also</h2> 44<p> 45<code><a href="./MPSetUserGameInfo.html">MPSetUserGameInfo()</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>, 46</p> 47 48<h2>Revision History</h2> 49 50<p> 512007/09/26 Deleted unnecessary reference from 'See Also.'<br />2006/07/03 Initial version. 52</p> 53 54<hr><p>CONFIDENTIAL</p></body> 55</html>