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>C Specification</h2>
16<dl><dd><pre><code>
17#include &lt;revolution/vf.h&gt;
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 NAND_RESULT_* for the NAND drive.
40
41For further details, see the error values for each device library.
42</PRE>
43<p>
44
45
46<H2>Description</H2>
47<p>
48<PRE>
49Gets the last device error.
50When the VF function's return value is <CODE>VF_ERR_EIO</CODE>, check the device error with this function and perform processing in compliance with each device's own guidelines.
51
52</PRE>
53</p>
54
55<h2>See Also</h2>
56
57<H2>Revision History</H2>
58<p>
592006/04/26<br>2007/05/08 Added explanation of Return Values.<br>2007/09/10 Added description.fc
60</p>
61
62
63<hr><p>CONFIDENTIAL</p></body>
64</html>
65