HIO2GetLastError

C Specification

#include <revolution/hio2.h>
HIO2Error   HIO2GetLastError  ( void );

Arguments

None.

Return Values

Returns an error code.


HIO2_ERROR_NONE               No error.
HIO2_ERROR_UNINITIALIZED      Uninitialized.
HIO2_ERROR_INVALID_HANDLE     An invalid handle was specified.
HIO2_ERROR_INVALID_PARAMETER  An invalid parameter was specified.
HIO2_ERROR_CHANNEL_BUSY       A busy channel was specified.
HIO2_ERROR_CHANNEL_FULL       No available channels.
HIO2_ERROR_CANNOT_USE         This console cannot use HIO2.
HIO2_ERROR_NOT_FIND           No EXI device is connected.
HIO2_ERROR_INTERNAL           Internal error.

Description

This function gets the last error code that was generated while the HIO2 function was executing.

See Also

Revision History

03/01/2006 Initial version.