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>NWC24CheckUserId</TITLE> 7<LINK rel="stylesheet" type="text/css" href="../../CSS/revolution.css"> 8</HEAD> 9<BODY> 10<H1>NWC24CheckUserId</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> NWC24CheckUserId( <A HREF="../Types/NWC24UserId.html">NWC24UserId</A> <EM>userId</EM> );</CODE></PRE> 16</DL> 17 18<H2>Description</H2> 19<P> 20Checks whether the user ID (Wii number) specified by <code><em><strong>userId</strong></em></code> is valid. 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>userId</strong></em></code></TD> 27 <TD width="520"> 28User ID to be checked for validity. 29 </TD> 30 </TR> 31</TABLE> 32 33<h2>Return Values</h2> 34<P> 35<code>NWC24_OK</code>: The user ID is valid (the <code><em><strong>userId</strong></em></code> value is a valid user ID).<BR> <code>NWC24_ERR_ID_GENERATED</code>: The <code><em><strong>userId</strong></em></code> value matches the user's own ID.<BR> <code>NWC24_ERR_PROTECTED</code>: Even though the <code><em><strong>userId</strong></em></code> is valid, communication is not possible (this error will be returned if a retail Wii console's ID is checked on a development console).<BR> <code>NWC24_ERR_ID_CRC</code>: CRC error (CRC of the <code><em><strong>userId</strong></em></code> is wrong). 36</P> 37 38<H2>See Also</H2> 39<P> 40</P> 41 42<H2>Revision History</H2> 43<P> 442007/7/26 Added the case where <code>NWC24_ERR_PROTECTED</code> is returned.<BR> 2006/11/17 Added the case where <code>NWC24_ERR_ID_GENERATED</code> is returned.<BR> 2006/10/06 Initial version. 45</P> 46 47<hr><p>CONFIDENTIAL</p></body> 48</HTML>