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 set of friend information.
frienddata2 Pointer to the buffer for the DWCFriendData structure that stores the second set of friend information.

Return Values

TRUE Identical.
FALSE Different.

Description

Determines whether frienddata1 and frienddata2 contain the same friend information.

The data type of the friend information is configured as part of the friend information and can be obtained with the DWC_GetFriendDataType function. To use this function to determine if the two sets of friend information are identical, the two sets must have the same 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 are automatically deleted.

See Also

DWC_CreateExchangeToken
DWC_CreateFriendKeyToken
DWC_GetFriendDataType
DWC_UpdateServersAsync

Revision History

For the changelog prior to 5.1 PR2, click here.


CONFIDENTIAL