nn::friends::CTR::GetFriendKeyList FunctionResult GetFriendKeyList( FriendKey * pFriendKeyList, size_t * pNum, size_t offset = 0, size_t size = FRIEND_LIST_SIZE );
| Name | Description | |
|---|---|---|
| out | pFriendKeyList | Specifies a pointer to a buffer that stores obtained friend keys. |
| out | pNum | Specifies a pointer to a buffer that stores the number actually obtained. |
| in | offset | Specifies the index of the friend key to begin obtaining. |
| in | size | Specifies the maximum number of friend keys to obtain (the number of buffer elements). |
| Value | Description |
|---|---|
ResultSuccess |
Process succeeded. |
ResultInvalidPointer |
An invalid pointer was passed in as an argument. |
ResultTooLarge |
The size argument was too large. |
ResultNotInitialized |
The friend presence library has not been initialized. |
| Other | Some other result may be returned as a result of factors such as the daemon's internal state. |
Gets a list of the friend keys registered in the friend list.
The obtained friend keys also include peers who have not yet established a friend relationship with the local host.
CONFIDENTIAL