#include <revolution/nwc24.h>
NWC24Err NWC24GetFriendInfoStatus( u32* type, u32* status, u32 index );
Simple way of checking the registration status of the information in the index position in the Wii Friend Roster.
Note: Friend information is not necessarily always stored in order starting from the 0th index.
type |
Pointer to the variable that gets the information at the registered address. Depending on the registration status of the information in the index position in the Wii Friend Roster, one of the following values is returned:
|
||||||||
status |
Pointer to the variable that gets the status of the friend relationship for the registered address. Depending on the friend relationship status of the information in the index position in the Wii's Friend Roster, one of the following values is returned:
|
||||||||
index |
The index within the friend roster. |
NWC24_OK: Status information gotten normally.
NWC24_ERR_LIB_NOT_OPENED: The library is not open.
NWC24_ERR_FILE_*: There is a problem accessing the file.
NWC24_ERR_BROKEN: The Friend Roster is corrupted.
NWC24_ERR_VER_MISMATCH: Friend Roster version error.
NWC24ReadFriendInfo, NWC24IsFriendInfoThere
2007/07/09 Initial version.
CONFIDENTIAL