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<META name="GENERATOR" content="IBM WebSphere Studio Homepage Builder Version 6.5.0.0 for Windows"> 7<LINK rel="stylesheet" type="text/css" href="../CSS/revolution.css"> 8<TITLE>HIO2GetLastError</TITLE> 9</HEAD> 10<BODY> 11<H1 align="left">HIO2GetLastError</H1> 12<H2>C Specification</H2> 13<DL> 14 <DD> 15 <PRE><CODE>#include <revolution/hio2.h></CODE></PRE> 16 <DD> 17 <PRE><CODE>HIO2Error HIO2GetLastError ( void );</CODE></PRE> 18</DL> 19<H2>Arguments</H2> 20<P>None.</P> 21<H2>Return Values</H2> 22<P>Returns an error code.</P> 23<pre><CODE> 24HIO2_ERROR_NONE No error. 25HIO2_ERROR_UNINITIALIZED Uninitialized. 26HIO2_ERROR_INVALID_HANDLE An invalid handle was specified. 27HIO2_ERROR_INVALID_PARAMETER An invalid parameter was specified. 28HIO2_ERROR_CHANNEL_BUSY A busy channel was specified. 29HIO2_ERROR_CHANNEL_FULL No available channels. 30HIO2_ERROR_CANNOT_USE This console cannot use HIO2. 31HIO2_ERROR_NOT_FIND No EXI device is connected. 32HIO2_ERROR_INTERNAL Internal error. 33</CODE></pre> 34<H2>Description</H2> 35<P>This function gets the last error code that was generated while the <CODE>HIO2</CODE> function was executing. </P> 36<H2>See Also</H2> 37<H2>Revision History</H2> 38<P>03/01/2006 Initial version.</P> 39</BODY> 40</HTML>