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 http-equiv="Content-Style-Type" content="text/css"> 7<LINK rel="stylesheet" type="text/css" href="../CSS/revolution.css"> 8<title>MPPortCallbackInfo_Disconnected</title> 9</head> 10 11<body> 12 13<h1>MPPortCallbackInfo_Disconnected</h1> 14 15<h2>Definitions</h2> 16<dl><dd> 17<pre><code> 18#include <revolution/mp.h> 19 20typedef struct MPPortCallbackInfo_Disconnected 21{ 22 u32 fromAid; 23 24 u32 reason; 25 u8 macAddress[6]; 26 27 u8 padding[2]; 28 29} MPPortCallbackInfo_Disconnected; 30</code></pre> 31</dd></dl> 32 33<H2>Description</H2> 34<p> 35This structure is used as a member of the <A href="./MPPortCallbackInfo.html"><CODE>MPPortCallbackInfo</CODE></A> structure when the port receive callback function has been called as a result of disconnection from a child device. 36</p> 37<TABLE border="1"> 38 <TBODY> 39 <tr> 40<th><strong>Member</strong></th> 41<th><strong>Description</strong></th> 42 </tr> 43 <TR> 44<td valign="top" width="120" bgcolor="#ffffe8"><em><strong>fromAid</strong></em></td> 45<TD width="520">AID of the child device of the disconnected party.</TD> 46 </TR> 47 <TR> 48<td valign="top" width="120" bgcolor="#ffffe8"><em><strong>reason</strong></em></td> 49<TD width="520">Specifies the reason for disconnection.<BR>This is the same as the <A href="MPDisconnectReason.html"><CODE>MPDisconnectReason</CODE> enumerator</A>.</TD> 50 </TR> 51 <TR> 52<td valign="top" width="120" bgcolor="#ffffe8"><em><strong>macAddress</strong></em></td> 53<TD width="520">MAC address of the child device of the disconnected party.</TD> 54 </TR> 55 </TBODY> 56</TABLE> 57 58<h2>See Also</h2> 59<p> 60<code><a href="./MPDisconnectReason.html">MPDisconnectReason</a></code>, <code><a href="./MPPortCallback.html">MPPortCallback</a></code>, <code><a href="./MPPortCallbackInfo.html">MPPortCallbackInfo</a></code> 61</p> 62 63<H2>Revision History</H2> 64<p>2006/11/28 Initial version.</p> 65 66<hr><p>CONFIDENTIAL</p></body> 67</html> 68