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 http-equiv="Content-Style-Type" content="text/css"> 7<LINK rel="stylesheet" type="text/css" href="../CSS/revolution.css"> 8<title>VFGetLastDeviceError(W)</title> 9</head> 10 11<body> 12 13<h1>VFGetLastDeviceError(W)</h1> 14 15<h2>Syntax</h2> 16<dl><dd><pre><code> 17#include <revolution/vf.h> 18 19typedef s32 VFDevErr; 20 21VFDevErr VFGetLastDeviceError( const char* drive ); 22VFDevErr VFGetLastDeviceErrorW( const VFWchar* drive ); 23</code></pre></dd></dl> 24 25<h2>Arguments</h2> 26<p> 27<TABLE border="1" > 28 <tr> 29<TD valign="top" width="120" bgcolor="#ffffe8"><CODE><STRONG><EM>drive</EM></STRONG></CODE></TD> 30<TD width="520">The drive name.</TD> 31 </tr> 32</TABLE> 33</p> 34 35<h2>Return Values</h2> 36<p> 37<PRE> 38If a device error is generated while the NAND drive is in use, 39returns <CODE>NAND_RESULT_*</CODE> for the NAND drive. 40 41For further details, see the error values for each device's library. 42</PRE> 43<p> 44 45 46<H2>Description</H2> 47<p> 48<PRE> 49Gets the last device error. 50</PRE> 51</p> 52 53<h2>See Also</h2> 54 55<H2>Revision History</H2> 56<p> 572006/04/26<br>2007/05/08 Added an explanation to <B>Return Values</B>. 58</p> 59 60 61<hr><p>CONFIDENTIAL</p></body> 62</html> 63