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>MPGetConnectedAIDs</title> 8</head> 9 10<body> 11<h1>MPGetConnectedAIDs</h1> 12 13<h2>Syntax</h2> 14<p> 15<dl> 16 <dd><pre><code>#include <revolution/mp.h></code></pre> 17 </dd> 18 <dd><pre><code>u32 MPGetConnectedAIDs ( void );</code></pre> 19 </dd> 20</dl> 21</p> 22 23<h2>Arguments</h2> 24<p> 25None. 26</p> 27 28<h2>Return Values</h2> 29 30<P>Returns a list of currently connected child devices in logical sum format based on bit values of <code>(1 << AID)</code>. The local device's AID is not included.</P> 31 32<h2>Description</h2> 33 34<p>The value of the logical sum of <code>(1 << AID)</code> (the value when 1 is shifted by the amount given by AID) is returned for the AID of all child devices currently connected. The local device's AID is not included.</p> 35 36<p>For processes where it is critical whether they come before or after connection or disconnection, be sure to manage connected child devices without using this function based on information given by the <code><a href="./MPPortCallbackInfo.html">MPPortCallbackInfo</a></code> structure passed to the <CODE>port</CODE> callback. If this function is used during the <CODE>port</CODE> callback, the current child device connection status will be obtained rather than the child connection status at the time of the event causing the callback to be issued, thus losing integrity with the event.</p> 37 38<h2>See Also</h2> 39<p> 40<code><a href="./MPSetPortConfig.html">MPSetPortConfig</a></code> 41</p> 42 43<h2>Revision History</h2> 44 45<p>2008/08/04 Initial version.</p> 46 47<hr><p>CONFIDENTIAL</p></body> 48</html>