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_IsEqualFriendData</title> 9<LINK rel="stylesheet" href="../css/nitro.css" type="text/css"> 10</head> 11 12<body> 13<a name="dwc__account_8h_1768b88de3bf4c1ee4bfc4d500d215c4e"></a> 14<h1 align="left">DWC_IsEqualFriendData</h1> 15<h2>Syntax</h2> 16 17<dl> 18 <dd> 19<CODE>#include <dwc.h></CODE><BR> 20 <BR> 21 <PRE><CODE>BOOL <a href=DWC_IsEqualFriendData.html#dwc__account_8h_1768b88de3bf4c1ee4bfc4d500d215c4e>DWC_IsEqualFriendData</a>(const DWCFriendData *frienddata1, 22 const DWCFriendData *frienddata2);</CODE></PRE></dd> 23</dl> 24 25<h2>Arguments</h2> 26 27<TABLE border="1" width="100%"> 28 <TBODY> 29 30 <TR> 31<TD width="13%"><EM><STRONG>frienddata1</STRONG></EM></TD> 32<TD width="87%">Pointer to the buffer for the <CODE>DWCFriendData</CODE> structure that stores the first friend data.</TD> 33 </TR> 34 35 <TR> 36<TD width="13%"><EM><STRONG>frienddata2</STRONG></EM></TD> 37<TD width="87%">Pointer to the buffer for the <CODE>DWCFriendData</CODE> structure that stores the second friend data.</TD> 38 </TR> 39 40 </TBODY> 41</TABLE> 42 43<h2>Return Values</h2> 44 45<TABLE border="1" width="100%"> 46 <TBODY> 47 48 <TR> 49<TD width="13%"><EM><STRONG>TRUE</STRONG></EM></TD> 50<TD width="87%">Identical</TD> 51 </TR> 52 53 <TR> 54<TD width="13%"><EM><STRONG>FALSE</STRONG></EM></TD> 55<TD width="87%">Different</TD> 56 </TR> 57 58 </TBODY> 59</TABLE> 60 61<H2>Description</H2> 62<p>This function determines whether <CODE>frienddata1</CODE> and <CODE>frienddata2</CODE> contain the same friend data.</p><p>The data type is configured in the friend data, so the data type can be obtained with the <A href="DWC_GetFriendDataType.html"><CODE>DWC_GetFriendDataType</CODE></a> function. In order to determine if the friend data is identical using this function, the two instances of friend data must also have matching data types.</p><p>If multiple instances of friend data about the same friend are found in the friend roster when the friend roster is synchronized with the <A href="DWC_UpdateServersAsync.html"><CODE>DWC_UpdateServersAsync</CODE></a> function, all but one of those instances will be automatically deleted.</p> 63 64<H2>Revision History</H2> 65<DL> 66 67</DL> 68<hr><p>CONFIDENTIAL</p></body> 69</html> 70