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<META name="GENERATOR" content="IBM WebSphere Studio Homepage Builder Version 6.5.0.0 for Windows"> 7<LINK rel="stylesheet" type="text/css" href="../CSS/revolution.css"> 8<TITLE>CARDGetSerialNo</TITLE> 9</HEAD> 10<BODY> 11<H1>CARDGetSerialNo</H1> 12<H2>C Specification</H2> 13<DL> 14 <DD> 15<PRE><code>#include <revolution/card.h></CODE></PRE> 16 <DD> 17<PRE><CODE>s32 CARDGetSerialNo( s32 chan, u64* serialNo );</CODE></PRE> 18</DL> 19<H2>Arguments</H2> 20<TABLE border="1" cellpadding="3" cellspacing="0.1"> 21 <TBODY> 22 <TR> 23<TD width="120" bgcolor="#ffffe8"><EM><STRONG><CODE>chan</CODE></STRONG></EM></TD> 24<TD width="520">EXI channel number.</TD> 25 </TR> 26 <TR> 27<TD width="120" bgcolor="#ffffe8"><EM><STRONG><CODE><STRONG><EM><code>serialNo</code></EM></STRONG></CODE></STRONG></EM></TD> 28<TD width="520">Pointer to 8-byte buffer that saves the card serial number.</TD> 29 </TR> 30 </TBODY> 31</TABLE> 32<H2>Return Values</H2> 33<P>One of the following codes:</P> 34<P><code>CARD_RESULT_FATAL_ERROR<br> CARD_RESULT_NOCARD<br> CARD_RESULT_BUSY<br> CARD_RESULT_READY</code></P> 35<H2>Description</H2> 36<P>Gets the card format serial number. A new card serial number is assigned every time the Memory Card is formatted. Although the card format serial number will most likely be unique to each card, multiple Memory Cards could be assigned the same card format serial number.</P> 37 38<H2>See Also</H2> 39<P><a target="contents" href="toc.html">Memory Card Functions</a>,<code><a href="CARDFormat.html"><br> CARDFormat</a></code>, <code><a href="CARDFormatAsync.html">CARDFormatAsync</a></code></P> 40<H2>Revision History</H2> 41<P>2006/03/01 Initial version.</P> 42<hr> 43<P>CONFIDENTIAL</p> 44</BODY> 45</HTML>