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<META name="GENERATOR" content="IBM WebSphere Studio Homepage Builder Version 7.0.0.0 for Windows"> 8<title>DWCFriendStatusCallback</title> 9<LINK rel="stylesheet" href="../css/nitro.css" type="text/css"> 10</head> 11 12<body> 13<a name="dwc__friend_8h_14998d3e498bc6e708d41116161731fd4"></a> 14<h1 align="left">DWCFriendStatusCallback</h1> 15<h2>Syntax</h2> 16 17<dl> 18 <dd> 19<CODE>#include <dwc.h></CODE><BR> 20 <BR> 21 <PRE><CODE>typedef void(*) <a href=DWCFriendStatusCallback.html#dwc__friend_8h_14998d3e498bc6e708d41116161731fd4>DWCFriendStatusCallback</a>(int index, 22 u8 status, 23 const char *statusString, 24 void *param);</CODE></PRE></dd> 25</dl> 26 27<h2>Arguments</h2> 28 29<TABLE border="1" width="100%"> 30 <TBODY> 31 32 <TR> 33<TD width="13%"><EM><STRONG><parametername>index</parametername></STRONG></EM></TD> 34<TD width="87%">Friend roster index of the friend whose status has changed.</TD> 35 </TR> 36 37 <TR> 38<TD width="13%"><EM><STRONG><parametername>status</parametername></STRONG></EM></TD> 39<TD width="87%">Friend status. <CODE>DWC_STATUS_*</CODE> enumerator.</TD> 40 </TR> 41 42 <TR> 43<TD width="13%"><EM><STRONG><parametername>statusString</parametername></STRONG></EM></TD> 44<TD width="87%"><CODE>GameSpystatus</CODE> character string defined by the game. The maximum length of the character string is 255 characters + the NULL terminator.</TD> 45 </TR> 46 47 <TR> 48<TD width="13%"><EM><STRONG><parametername>param</parametername></STRONG></EM></TD> 49<TD width="87%">Callback parameter.</TD> 50 </TR> 51 52 </TBODY> 53</TABLE> 54 55<h2>Return Values</h2> 56 57<p>None.</p> 58 59<H2>Description</H2> 60<p>This is called when a friend's communications status changes.</p> 61 62<h2>See Also</h2> 63<p> 64 65<CODE><A href="DWC_UpdateServersAsync.html">DWC_UpdateServersAsync</A></CODE> 66 67</p> 68 69<H2>Revision History</H2> 70<DL> 71 72</DL> 73<hr><p>CONFIDENTIAL</p></body> 74</html> 75