HIO2GetLastError

Syntax

#include <revolution/hio2.h>

HIO2Error   HIO2GetLastError  ( void );

Arguments

None.

Return Values

Returns an error code.

HIO2_ERROR_NONENo errors.
HIO2_ERROR_UNINITIALIZEDNot initialized.
HIO2_ERROR_INVALID_HANDLEAn invalid handle was specified.
HIO2_ERROR_INVALID_PARAMETERAn invalid argument was specified.
HIO2_ERROR_CHANNEL_BUSYThe specified channel is already in use.
HIO2_ERROR_CHANNEL_FULLThere are no empty channels.
HIO2_ERROR_CANNOT_USEThis console cannot use HIO2.
HIO2_ERROR_NOT_FINDNo EXI device is connected.
HIO2_ERROR_INTERNALInternal error.

Description

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

See Also

None.

Revision History

2006/03/01 Initial version.


CONFIDENTIAL