DWC_CheckFriendKey

C Specification

#include <dwc.h>

BOOL DWC_CheckFriendKey( const DWCUserData* userdata, u64 friend_key );

Description

Checks the legitimacy of the friend registration key specified by friend_key. When adding a friend registration key to the friend roster, use DWC_CreateFriendKeyToken to create friend data based on that friend registration key.

Either prompt the user to re-enter information if they enter an invalid key or display an input error.

Arguments

userdata Pointer to the DWCUserData structure where the user data is stored.
friend_key Friend registration key

Return Values

TRUE valid
FALSE invalid

See Also

DWC_CreateFriendKeyToken , DWC_GetFriendKey

Revision History

12/16/2005 Revisions
10/20/2005 Initial version