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>CARDRenameAsync</title> 10</head> 11 12<body> 13 14<h1>CARDRenameAsync</h1> 15<h2>C Specification</h2> 16 17<dl> 18<dd><pre><code>#include <revolution/card.h> 19 20typedef void (*CARDCallback)( s32 chan, s32 result );</code></pre> 21 </dd> 22<dd><pre><CODE>s32 CARDRenameAsync(s32 chan, const char* oldName, const char* newName, CARDCallback callback);</CODE></pre> 23 </dd> 24</dl> 25 26<h2>Arguments</h2> 27<TABLE border="1" cellpadding="3" cellspacing="0.1"> 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><STRONG><EM><code>oldName</code></EM></STRONG></code></strong></em></TD> 34<TD width="520">Pointer to the file name to rename.</TD> 35 </tr> 36 <tr> 37<TD width="120" bgcolor="#ffffe8"><em><strong><code><STRONG><EM><code>newName</code></EM></STRONG></code></strong></em></TD> 38<TD width="520">Pointer to the new file name.</TD> 39 </tr> 40 <tr> 41<TD width="120" bgcolor="#ffffe8"><em><strong><code><EM><STRONG><CODE>callback</CODE></STRONG></EM></code></strong></em></TD> 42<TD width="520">Callback function to notify about the result.</TD> 43 </tr> 44</TABLE> 45<h2>Return Values</h2> 46<P>One of the following codes:</P> 47<p><code>CARD_RESULT_FATAL_ERROR<br> CARD_RESULT_NOCARD<br> CARD_RESULT_NOFILE<br> CARD_RESULT_NOPERM<br> CARD_RESULT_BUSY<br> CARD_RESULT_EXIST<br> CARD_RESULT_NAMETOOLONG<br> CARD_RESULT_IOERROR<br> CARD_RESULT_READY</code></p> 48<H2>Description</H2> 49<P>Asynchronously renames a file.</P> 50<P><STRONG>Note:</STRONG> 51 This function is provided for debugging. Do not use in programs.</P> 52<h2>See Also</h2> 53<H2>Revision History</H2> 54<P>2006/03/01 Initial version.</P> 55<hr> 56<P>CONFIDENTIAL</p> 57</BODY> 58</HTML> 59