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<TITLE>NCD API Error Values</TITLE>
7<LINK rel="stylesheet" type="text/css" href="../CSS/revolution.css">
8</HEAD>
9<BODY>
10<H1>NCD API Error Values</H1>
11
12<H2>C Specification</H2>
13<DL>
14  <DD><PRE><CODE>#include &lt;revolution/ncd.h&gt;</CODE></PRE>
15<DD><PRE><CODE>#define     NCD_RESULT_SUCCESS              0       /* success */
16#define     NCD_RESULT_FATAL_ERROR          (-1)    /* Does not normally occur. Occurs when involved in a memory loss bug, etc. */
17#define     NCD_RESULT_FAILURE              (-2)    /* Failure of resource manager operation. */
18#define     NCD_RESULT_ILLEGAL_PARAM        (-3)    /* Invalid parameter. */
19#define     NCD_RESULT_EXCLUSIVE            (-4)    /* Being exclusively controlled. */
20#define     NCD_RESULT_ILLEGAL_STATUS       (-5)    /* API has not been called. */
21#define     NCD_RESULT_SFFS_ERROR           (-6)    /* Failure of NAND flash operation .*/
22#define     NCD_RESULT_UNDECIDED            (-7)    /*  Network I/F has not been determined. */
23#define     NCD_RESULT_INPROGRESS           (-8)    /* The firmware is not yet prepared. */
24</CODE></PRE>
25</DL>
26
27<H2>Description</H2>
28<P>
29Indicates the types of errors that can occur when running NCD APIs.
30</P>
31
32<H2>See Also</H2>
33<P>
34</P>
35
36<H2>Revision History</H2>
37<P>
382006/10/26 Added the error value <CODE>NCD_RESULT_INPROGRESS</CODE>.<BR>2006/08/09 Initial version.
39</P>
40
41<hr><p>CONFIDENTIAL</p></body>
42</HTML>