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>NWC24GetNumRegFriendInfos</TITLE>
7<LINK rel="stylesheet" type="text/css" href="../../CSS/revolution.css">
8</HEAD>
9<BODY>
10<H1>NWC24GetNumRegFriendInfos</H1>
11
12<H2>C Specification</H2>
13<DL>
14<DD><PRE><CODE>#include &lt;revolution/nwc24.h&gt;</CODE></PRE>
15<DD><PRE><CODE><A HREF="../Types/NWC24Err.html">NWC24Err</A> NWC24GetNumRegFriendInfos( u32* <EM>num</EM> );</CODE></PRE>
16</DL>
17
18<H2>Description</H2>
19<P>
20Returns the total number of sets of friend information registered in the friend roster in the Wii.
21</P>
22
23<P>
24<STRONG>Note: </STRONG>Friend information is not necessarily always stored in order starting from the 0th index.
25</P>
26
27<H2>Arguments</H2>
28<TABLE border="1" cellpadding="3" cellspacing="0.1">
29  <TR>
30<TD width="120" bgcolor="#ffffe8"><code><em><strong>num</strong></em></code></TD>
31    <TD width="520">
32Variable to acquire results.
33    </TD>
34  </TR>
35</TABLE>
36
37<h2>Return Values</h2>
38<P>
39<code>NWC24_OK</code>: Retrieved information normally (value returns in <code><em><strong>num</strong></em></code>).<BR><code>NWC24_ERR_LIB_NOT_OPENED</code>: Library not open.<BR><code>NWC24_ERR_FILE_*</code>: File access error.<BR><code>NWC24_ERR_BROKEN</code>: Friend roster broken.<BR><code>NWC24_ERR_VER_MISMATCH</code>: Friend roster version error.<BR>
40</P>
41
42<H2>See Also</H2>
43<P>
44<A href="NWC24GetNumFriendInfos.html"><CODE>NWC24GetNumFriendInfos</CODE></A>
45</P>
46
47<H2>Revision History</H2>
48<P>
492007/03/15 Added a note of caution.<BR>2006/10/06 Updated the list of return values.<BR>2006/09/01 Initial version.
50</P>
51
52<hr><p>CONFIDENTIAL</p></body>
53</HTML>