NWC24SwapFriendInfos

C Specification

#include <revolution/nwc24.h>
NWC24Err NWC24SwapFriendInfos( u32 index0, u32 index1 );

Description

Swaps the information from theindex0 position in the Wii Friend Roster for the information in the index1 position.

Note: This function is meant for testing during the development process and has not been released. Unless you have a special reason, do not incorporate this function into the production version of your application.

Arguments

index0 An index in the Wii Friend Roster.
index1 An index in the Wii Friend Roster.

Return Values

NWC24_OK: Swapping ends normally.
NWC24_ERR_INVALID_VALUE: Invalid value for either index0 or index1.
NWC24_ERR_LIB_NOT_OPENED: The library is not open.
NWC24_ERR_FILE_*: There is a problem accessing the file.
NWC24_ERR_BROKEN: The Wii Friend Roster is corrupted.
NWC24_ERR_VER_MISMATCH: Wii Friend Roster version error.

See Also

NWC24ReadFriendInfo, NWC24WriteFriendInfo, NWC24UpdateFriendInfo

Revision History

2007/07/09 Initial version.


CONFIDENTIAL