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 data.

Return Values

positive value Friend code.
0 Failed because the friend information contained no friend code.

Description

Gets a friend code from the friend data specified by frienddata.

Note that you cannot obtain a friend registration key from friend data from which a friend relationship has ever been established.

Revision History

1.4.1
Added a caution about getting data from friends with whom friend relationships have been established.

CONFIDENTIAL