NWC24SwapFriendInfos

Syntax

#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 released for testing during development. Unless you have a special reason, do not incorporate this function into the production version of your application.

Arguments

index0 The index within the friend roster.
index1 The index within the 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