DWC_ClearBuddyFlagFriendData

Syntax

#include <dwc.h> 
void DWC_ClearBuddyFlagFriendData(DWCFriendData *frienddata);

Arguments

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

Return Values

None.

Description

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

The friend information's friend-established flag is set whenever a friend relationship with that friend 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 annulled (for example, when user data is overwritten because the Nintendo DS system and DS card data do not match), be sure to clear the friend-established flag using this function.

See Also

DWC_WasBuddyFriendData DWC_InitFriendsMatch DWC_IsBuddyFriendData

Revision History

For the change log prior to 5.1 PR2, click here.   


CONFIDENTIAL