nn::friends::CTR::FriendCodeToFriendKey Function
void FriendCodeToFriendKey(
FriendKey * pFriendKey,
u64 friendCode
);
| Name | Description | |
|---|---|---|
| pFriendKey | ||
| in | friendCode | Specifies the friend code to convert to a friend key. |
| out | friendKey | Specifies a pointer to a structure that stores the friend key. |
Gets the friend key from a friend code.
An invalid friend key is stored if the library is uninitialized or if an invalid friend code is passed. The value nn::friends::CTR::INVALID_LOCAL_FRIEND_CODE is always stored in a friend key's local friend code.
CONFIDENTIAL