#include <dwc.h>u64 DWC_GetFriendKey(const DWCFriendData *frienddata);| frienddata | Pointer to the buffer for the DWCFriendData structure that stores the friend data. |
| positive value | Friend code. |
| 0 | Failed because the friend information contained no friend code. |
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.
CONFIDENTIAL