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>NWC24CheckFriendInfo</TITLE> 7<LINK rel="stylesheet" type="text/css" href="../../CSS/revolution.css"> 8</HEAD> 9<BODY> 10<H1>NWC24CheckFriendInfo</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> NWC24CheckFriendInfo( const <A HREF="../Types/NWC24FriendInfo.html">NWC24FriendInfo</A>* <EM>info</EM> );</CODE></PRE> 16</DL> 17 18<H2>Description</H2> 19<P> 20Checks the validity of friend information.<BR>If the type of friend information being stored is an e-mail address, this function also checks the validity of the e-mail address. 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>info</strong></em></code></TD> 27 <TD width="520"> 28The <A HREF="../Types/NWC24FriendInfo.html"><CODE>NWC24FriendInfo</CODE> structure</A> that holds the information to be verified. (Must be 32-byte aligned.) 29 </TD> 30 </TR> 31</TABLE> 32 33<h2>Return Values</h2> 34<P> 35<code>NWC24_OK</code>: Normal exit.<BR> <code>NWC24_ERR_INVALID_VALUE</code>: Invalid friend information type.<BR> <code>NWC24_ERR_NULL</code>: The <code><em><strong>info</strong></em></code> value or e-mail address is NULL.<BR> <code>NWC24_ERR_FORMAT</code>: E-mail address is invalid.<BR> <code>NWC24_ERR_STRING_END</code>: E-mail address is over 255 characters.<BR> <code>NWC24_ERR_PROTECTED</code>: Recipient e-mail address contains "@wii.com".<BR> 36</P> 37 38<H2>See Also</H2> 39<P> 40</P> 41 42<H2>Revision History</H2> 43<P> 442006/12/05 Initial version. 45</P> 46 47<hr><p>CONFIDENTIAL</p></body> 48</HTML>