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 8.0.0.0 for Windows"> 7<META http-equiv="Content-Style-Type" content="text/css"> 8<title>ELResult</title> 9<LINK rel="stylesheet" href="../css/nitro.css" type="text/css"> 10</head> 11 12<body> 13 14<h1 align="left">ELResult <img src="../image/TWL.gif" align="middle"></h1> 15<h2>Definition</h2> 16 17<dl> 18 <dd> 19 <PRE><CODE>#include <twl/el.h></CODE><BR> 20typedef enum ELResult { 21 EL_RESULT_SUCCESS = 0, 22 EL_RESULT_FAILURE = 1, 23 EL_RESULT_INVALID_PARAMETER, 24 EL_RESULT_INVALID_ELF, 25 EL_RESULT_UNSUPPORTED_ELF, 26 EL_RESULT_CANNOT_ACCESS_ELF, 27 EL_RESULT_NO_MORE_RESOURCE 28} ELResult; 29</PRE> 30 </dd> 31</dl> 32<h2>Description</h2> 33<P>Enumeration type expressing the results of the link processing of the EL library.<BR>They are defined as follows. 34</P> 35<TABLE border="1" width="100%"> 36 <TBODY> 37 <TR> 38<TD width="13%"><EM><STRONG>EL_RESULT_SUCCESS</STRONG></EM></TD> 39<TD width="87%">The process has succeeded.</TD> 40 </TR> 41 <TR> 42<TD width="13%"><EM><STRONG>EL_RESULT_FAILURE</STRONG></EM></TD> 43<TD width="87%">The link process has failed because it was not initialized.</TD> 44 </TR> 45 <TR> 46<TD width="13%"><EM><STRONG>EL_RESULT_INVALID_PARAMETER</STRONG></EM></TD> 47<TD width="87%">An invalid element has been passed to the library.</TD> 48 </TR> 49 <TR> 50<TD width="13%"><EM><STRONG>EL_RESULT_INVALID_ELF</STRONG></EM></TD> 51<TD width="87%">There is an invalid item in the ELF file.</TD> 52 </TR> 53 <TR> 54<TD width="13%"><EM><STRONG>EL_RESULT_UNSUPPORTED_ELF</STRONG></EM></TD> 55<TD width="87%">The ELF file is in a format that the library does not support.</TD> 56 </TR> 57 <TR> 58<TD width="13%"><EM><STRONG>EL_RESULT_CANNOT_ACCESS_ELF</STRONG></EM></TD> 59<TD width="87%">The ELF file failed to OPEN or READ.</TD> 60 </TR> 61 <TR> 62<TD width="13%"><EM><STRONG>EL_RESULT_NO_MORE_RESOURCE</STRONG></EM></TD> 63<TD width="87%">Allocating dynamic memory internally in the library failed, or the buffer size specified by one of the <CODE>EL_Link*Ex</CODE> functions is insufficient.</TD> 64 </TR> 65 </TBODY> 66</TABLE> 67 68<H2>Revision History</H2> 69<P> 702009/03/16 Added condition for <CODE>EL_RESULT_NO_MORE_RESOURCE</CODE> to occur.<br> 2009/01/14 Initial version.</P> 71<hr><p>CONFIDENTIAL</p></body> 72</html> 73