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>NWC24SearchFriendInfoByAddr</TITLE>
7<LINK rel="stylesheet" type="text/css" href="../../CSS/revolution.css">
8</HEAD>
9<BODY>
10<H1>NWC24SearchFriendInfoByAddr</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> NWC24SearchFriendInfoByAddr( const <A HREF="../Types/NWC24FriendAddr.html">NWC24FriendAddr</A>* <EM>addr</EM>, u32* <EM>index</EM> );</CODE></PRE>
16</DL>
17
18<H2>Description</H2>
19<P>
20Searches for the index number under which friend information that includes the specified e-mail address is registered in the Wii Friend Roster.
21</P>
22
23<H2>Arguments</H2>
24<TABLE border="1" cellpadding="3" cellspacing="0.1">
25  <TR>
26<TD width="120" bgcolor="#ffffe8"><code><em><strong>addr</strong></em></code></TD>
27    <TD width="520">
28Pointer to the <A HREF="../Types/NWC24FriendAddr.html"><CODE>NWC24FriendAddr</CODE> union</A> that includes the e-mail address used as the search key.
29    </TD>
30  </TR>
31  <TR>
32<TD width="120" bgcolor="#ffffe8"><code><em><strong>index</strong></em></code></TD>
33    <TD width="520">
34Gets the result index.
35    </TD>
36  </TR>
37</TABLE>
38
39<h2>Return Values</h2>
40<P>
41<code>NWC24_OK</code>: Retrieved information normally (value returns in <code><em><strong>index</strong></em></code>).<BR><code>NWC24_ERR_NOT_FOUND</code>: Information not found.<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>: Wii Friend Roster broken.<BR> <code>NWC24_ERR_VER_MISMATCH</code>: Wii Friend Roster version error.<BR>
42</P>
43
44<H2>See Also</H2>
45<P>
46<A href="NWC24ReadFriendInfo.html"><CODE>NWC24ReadFriendInfo</CODE></A>, <A href="NWC24WriteFriendInfo.html"><CODE>NWC24WriteFriendInfo</CODE></A>, <A href="NWC24UpdateFriendInfo.html"><CODE>NWC24UpdateFriendInfo</CODE></A>, <A href="NWC24DeleteFriendInfo.html"><CODE>NWC24DeleteFriendInfo</CODE></A>, <A href="NWC24SearchFriendInfoById.html"><CODE>NWC24SearchFriendInfoById</CODE></A>, <A href="NWC24IsFriendInfoThere.html"><CODE>NWC24IsFriendInfoThere</CODE></A>
47</P>
48
49<H2>Revision History</H2>
50<P>
512006/12/05 Initial version.
52</P>
53
54<hr><p>CONFIDENTIAL</p></body>
55</HTML>