#include <revolution/nwc24.h>
NWC24Err NWC24WriteFriendInfo( const NWC24FriendInfo* info, u32 index );
Stores information within the main friends list at the index position.
Note: This function is released for testing during development. Unless you have a special reason, do not incorporate this function into the production version of your application.
info |
The NWC24FriendInfo structure that holds the information to be stored. (Must be 32-byte aligned.) |
index |
The index within the friend roster. |
NWC24_OK: Stored normally.NWC24_ERR_FULL: Information is already registered in the specified index location.NWC24_ERR_ALIGNMENT: The info argument is not 32-byte aligned.NWC24_ERR_STRING_END: The nickname set in info exceeds 11 characters, or the e-mail address exceeds 255 characters.NWC24_ERR_ID_CRC: The CRC of the user ID set in info is incorrect.NWC24_ERR_INVALID_VALUE: The value of index or info is invalid.NWC24_ERR_LIB_NOT_OPENED: Library is not open.NWC24_ERR_FILE_*: File access error.NWC24_ERR_BROKEN: Friend roster broken.NWC24_ERR_VER_MISMATCH: Friend roster version error.
NWC24ReadFriendInfo, NWC24UpdateFriendInfo, NWC24DeleteFriendInfo, NWC24SearchFriendInfoById, NWC24IsFriendInfoThere
2007/04/04 Added a note of caution about using this function in the production version.
2007/02/23 Corrected errors.
2006/10/06 Updated the list of return values.
2006/09/01 Initial version.
CONFIDENTIAL