DWC_GetFriendKey

Syntax

#include <dwc.h>
u64 DWC_GetFriendKey(const DWCFriendData *frienddata);

Arguments

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

Return Values

Positive value Friend registration key.
0 Failed because the friend information contained no friend registration key.

Description

Gets a friend registration key from the friend information specified by frienddata.
Note that you cannot get a friend registration key from the friend information of someone with whom a friend relationship has ever been established.

See Also

DWC_CreateFriendKeyToken
DWC_CheckFriendKey

Revision History

For the changelog prior to 5.1 PR2, click here.


CONFIDENTIAL