1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 2<html> 3 4<head> 5<META http-equiv="Content-Type" content="text/html; charset=windows-1252"> 6<META name="GENERATOR" content="IBM WebSphere Studio Homepage Builder Version 6.5.0.0 for Windows"> 7<META http-equiv="Content-Style-Type" content="text/css"> 8<LINK rel="stylesheet" type="text/css" href="../CSS/revolution.css"> 9<title>CARDGetMemSize</title> 10</head> 11 12<body> 13 14<h1>CARDGetMemSize</h1> 15 16 17<h2>C Specification</h2> 18 19<dl> 20<dd><pre><code>#include <revolution/card.h></code></pre> 21 </dd> 22<dd><pre><CODE>s32 CARDGetMemSize(s32 chan, u16* size);</CODE></pre> 23 </dd> 24</dl> 25<H2>Arguments</H2> 26<TABLE border="1" cellpadding="3" cellspacing="0.1"> 27 <TBODY> 28 <TR> 29<TD width="120" bgcolor="#ffffe8"><EM><STRONG><CODE><STRONG><EM><code>chan</code></EM></STRONG></CODE></STRONG></EM></TD> 30<TD width="520">EXI channel number.</TD> 31 </TR> 32 <TR> 33<TD width="120" bgcolor="#ffffe8"><EM><STRONG><CODE><em><strong><code>size</code></strong></em></CODE></STRONG></EM></TD> 34<TD width="520">Pointer to u16 type for receiving the result.</TD> 35 </TR> 36 </TBODY> 37</TABLE> 38<H2>Return Values</H2> 39<P>One of the following codes:</P> 40<P><code>CARD_RESULT_FATAL_ERROR<br> CARD_RESULT_NOCARD<br> CARD_RESULT_BUSY<br> CARD_RESULT_READY</code></P> 41<h2>Description</h2> 42 43<P>Gets the memory size of the specified Memory Card in megabits (Mb). The size returned will be 4, 8, 16, 32, 64, or 128 Mb.</P> 44 45<h2>See Also</h2> 46<H2>Revision History</H2> 47<P>2006/03/01 Initial version.</P> 48<hr> 49<P>CONFIDENTIAL</p> 50</BODY> 51</HTML> 52