DWC_IsEqualFriendData

C Specification

#include <dwc.h>

BOOL DWC_IsEqualFriendData( const DWCFriendData* frienddata1, const DWCFriendData* frienddata2 );

Description

This function determines whether frienddata1 and frienddata2 contain the same friend data.

The data type has been configured in the friends information. That information can be obtained with the DWC_GetFriendDataType function. In order to determine if the friend information is identical using this function, the information must be conformed to this data type.
If mutliple instances of friend information about the same friend are found in the friends list when synchronizing the friends list with the DWC_UpdateServersAsync function, all but one of them will be automatically deleted.

Arguments

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.

Return Values

TRUE Identical
FALSE Different

See Also

DWC_CreateExchangeToken, DWC_CreateFriendKeyToken, DWC_GetFriendDataType, DWC_UpdateServersAsync

Revision History

07/24/2006 Added a description about the determination details
12/16/2005 Made the function and reference description more detailed
10/20/2005 Initial version


CONFIDENTIAL