#include <dwc.h>
BOOL DWC_IsEqualFriendData( const DWCFriendData* frienddata1, const DWCFriendData* frienddata2 );
This function determines whether frienddata1 and frienddata2 contain the same friend data.
As the data type has been configured in the friend information, the data type can be obtained with the DWC_GetFriendDataType function. In order to determine if the friend information is identical using this function, the information must conform to this data type.
If multiple instances of friend information about the same friend are found in the friend roster when the friend roster is synchronized with the DWC_UpdateServersAsync function, all but one of those instances will be automatically deleted.
frienddata1 |
Pointer to the buffer for the DWCFriendData structure that stores the first friend data. |
frienddata2 |
Pointer to the buffer for the DWCFriendData structure that stores the second friend data. |
TRUE |
Identical. |
FALSE |
Different. |
DWC_CreateExchangeToken
DWC_CreateFriendKeyToken
DWC_GetFriendDataType
DWC_UpdateServersAsync
2006/07/24 Added a description about the determination details.
2005/12/16 Made the function and reference description more detailed.
2005/10/20 Initial version.
CONFIDENTIAL