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>DWC_ClearBuddyFlagFriendData</title> 9<LINK rel="stylesheet" href="../css/nitro.css" type="text/css"> 10</head> 11 12<body> 13<a name="dwc__account_8h_1893ed2dabd37a096ddce9f7e11864703"></a> 14<h1 align="left">DWC_ClearBuddyFlagFriendData</h1> 15<h2>Syntax</h2> 16 17<dl> 18 <dd> 19<CODE>#include <dwc.h></CODE><BR> 20 <BR> 21 <PRE><CODE>void <a href=DWC_ClearBuddyFlagFriendData.html#dwc__account_8h_1893ed2dabd37a096ddce9f7e11864703>DWC_ClearBuddyFlagFriendData</a>(DWCFriendData *frienddata);</CODE></PRE></dd> 22</dl> 23 24<h2>Arguments</h2> 25 26<TABLE border="1" width="100%"> 27 <TBODY> 28 29 <TR> 30<TD width="13%"><EM><STRONG>frienddata</STRONG></EM></TD> 31<TD width="87%">Pointer to the buffer for the <CODE>DWCFriendData</CODE> structure that stores the friend data.</TD> 32 </TR> 33 34 </TBODY> 35</TABLE> 36 37<h2>Return Values</h2> 38 39<p>None.</p> 40 41<H2>Description</H2> 42<p>Clears the friend established flag. This flag can be checked using the <a href="DWC_IsBuddyFriendData.html"><CODE>DWC_IsBuddyFriendData</CODE></a> function. The friend established flag is cleared only if the friend established flag is set. Otherwise, this function does nothing.</p><p>The friend established flag is set in friend data whenever a friend relationship is established on the GameSpy server. This flag can then be checked to determine whether or not a friend relationship is established.</p><p>When an established friendship is unestablished by such means as overwriting user data when the console and save data differ, be sure to clear the friend established flag using this function.</p> 43 44<H2>Revision History</H2> 45<DL> 46 47</DL> 48<hr><p>CONFIDENTIAL</p></body> 49</html> 50