DWC_ClearBuddyFlagFriendData

Syntax

#include <dwc.h>

void DWC_ClearBuddyFlagFriendData( DWCFriendData* frienddata );

Description

Clears the friend-established flag, which can be checked using the DWC_IsBuddyFriendData function. It is cleared only if it has been set; otherwise, this function does nothing.

The friend-established flag is set in friend data whenever a friend relationship is established on the GameSpy server. The flag can then be checked to determine if a friend relationship is established.

When an established friendship is de-established by such means as overwriting the user data when the console and save data differ, be sure to clear the friend-established flag using this function.

Arguments

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

Return Values

None.

See Also

DWC_IsBuddyFriendData
DWC_InitFriendsMatch

Revision History

2006/04/26 Revised the description of the intended use: changed "due to moving Wi-Fi user information" to "because the DS main unit and DS card are different".
2005/12/16 Added description of friend-established flag.
2005/11/03 Initial release.


CONFIDENTIAL