#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_ID_PROTECTED:The user ID set in the info cannot be registered (Made so that commercially sold Wii console IDS cannot be registered on a development machine)
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
2008/08/17 Added description of NWC24_ERR_ID_PROTECTED return value.
2007/04/04 Added caution statement relating to use on a commercial version.
2007/02/23 Corrected mistakes
2006/10/06 Updated return value list.
2006/09/01 Initial version
CONFIDENTIAL