1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 2<HTML> 3<HEAD> 4<META http-equiv="Content-Type" content="text/html; charset=windows-1252"> 5<META http-equiv="Content-Style-Type" content="text/css"> 6<TITLE>NWC24SwapFriendInfos</TITLE> 7<LINK rel="stylesheet" type="text/css" href="../../CSS/revolution.css"> 8</HEAD> 9<BODY> 10<H1>NWC24SwapFriendInfos</H1> 11 12<H2>C Specification</H2> 13<DL> 14<DD><PRE><CODE>#include <revolution/nwc24.h></CODE></PRE> 15<DD><PRE><CODE><A HREF="../Types/NWC24Err.html">NWC24Err</A> NWC24SwapFriendInfos( u32 <EM>index0</EM>, u32 <EM>index1</EM> );</CODE></PRE> 16</DL> 17 18<H2>Description</H2> 19<P> 20Swaps the information from the<code><em><strong>index0</strong></em></code> position in the Wii Friend Roster for the information in the <code><em><strong>index1</strong></em></code> position. 21</P> 22<P> 23<B>Note: </B>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. 24</P> 25 26<H2>Arguments</H2> 27<TABLE border="1" cellpadding="3" cellspacing="0.1"> 28 <TR> 29<TD width="120" bgcolor="#ffffe8"><code><em><strong>index0</strong></em></code></TD> 30 <TD width="520"> 31An index in the Wii Friend Roster. 32 </TD> 33 </TR> 34 <TR> 35<TD width="120" bgcolor="#ffffe8"><code><em><strong>index1</strong></em></code></TD> 36 <TD width="520"> 37An index in the Wii Friend Roster. 38 </TD> 39 </TR> 40</TABLE> 41 42<h2>Return Values</h2> 43<P> 44<code>NWC24_OK</code>: Swapping ends normally.<BR> <code>NWC24_ERR_INVALID_VALUE</code>: Invalid value for either <code><em><strong>index0</strong></em></code> or <code><em><strong>index1</strong></em></code>.<BR><code>NWC24_ERR_LIB_NOT_OPENED</code>: The library is not open.<BR> <code>NWC24_ERR_FILE_*</code>: There is a problem accessing the file.<BR> <code>NWC24_ERR_BROKEN</code>: The Wii Friend Roster is corrupted.<BR> <code>NWC24_ERR_VER_MISMATCH</code>: Wii Friend Roster version error.<BR> 45</P> 46 47<H2>See Also</H2> 48<P> 49<A href="NWC24ReadFriendInfo.html"><CODE>NWC24ReadFriendInfo</CODE></A>, <A href="NWC24WriteFriendInfo.html"><CODE>NWC24WriteFriendInfo</CODE></A>, <A href="NWC24UpdateFriendInfo.html"><CODE>NWC24UpdateFriendInfo</CODE></A></P> 50 51<H2>Revision History</H2> 52<P> 532007/07/09 Initial version. 54</P> 55 56<hr><p>CONFIDENTIAL</p></body> 57</HTML>