DWC_WasBuddyFriendData

Syntax

#include <dwc.h>
BOOL DWC_WasBuddyFriendData(const DWCFriendData *frienddata);

Arguments

frienddata Pointer to the buffer for the DWCFriendData structure that stores the friend information.

Return Values

TRUE Friend relationship used to exist but was cancelled by the friend.
FALSE No such action has taken place.

Description

Checks whether your friend, specified in the argument, has cancelled the friend relationship with you.

If at one time you (the local host) had a mutual friend relationship with the other party (that is, the DWC_IsBuddyFriendData function returned TRUE), but now the other party has revoked the friend relationship so that the friendship is only one-sided, this function determines that the friend relationship is annulled and returns TRUE to you.
Note: Internally this function uses the DWC_IsBuddyFriendData function, so be aware that the other party's friend information flags are not updated in real time. (This function does not perform any communications.)

Note: Also, this function will always return FALSE when it is used on friend information that you (the local host) already have used with the DWC_DeleteBuddyFriendData or DWC_ClearBuddyFlagFriendData function.

See Also

DWC_UpdateServersAsync
DWC_IsBuddyFriendData
DWC_DeleteBuddyFriendData
DWC_ClearBuddyFlagFriendData

Revision History

For the changelog prior to 5.1 PR2, click here.


CONFIDENTIAL