DWC_IsEqualFriendData

Syntax

#include <dwc.h>

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

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

Description

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

The data type is configured in the friend data, so the data type can be obtained with the DWC_GetFriendDataType 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.

If multiple instances of friend data 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.

Revision History


CONFIDENTIAL