nn::friends::CTR::GetMyFriendKey Function| Name | Description | |
|---|---|---|
| out | pFriendKey | Specifies a pointer to a structure that stores the friend key. |
Gets the local host's friend key.
The value of the principal ID is nn::friends::CTR::INVALID_PRINCIPAL_ID if the library is uninitialized or if the local host has never connected to any server. The value of the local friend code is nn::friends::CTR::INVALID_LOCAL_FRIEND_CODE if the library is uninitialized.
CONFIDENTIAL