Target:
#include <revolution/hio2.h>
BOOL HIO2EnumDevices( HIO2EnumCallback callback );
s32
#include <revolution/hio2.h>
BOOL HIO2EnumDevices( HIO2EnumCallback callback, void* param );
Target:
callback |
Callback function to call if a connected HIO2 device is detected. |
Host:
callback |
Callback function to call if a connected HIO2 device is detected. |
param |
Parameters used with the callback function callback. |
Target:
Returns TRUE if enumeration succeeds and FALSE if enumeration fails.
Host:
Returns the number of HIO2 devices connected. Returns -1 if an error occurs.
Target: The HIO2EnumDevices function enumerates the HIO2 devices connected to the target EXI port. If a device is detected, the callback function callback is called using the detected EXI device type as a parameter. Devices are enumerated in this order: HIO2_DEVICE_EXI2USB_0 → HIO2_DEVICE_EXI2USB_1 → HIO2_DEVICE_MrEXI.
Host: The HIO2EnumDevices function enumerates the HIO2 devices connected to the host. If a device is detected, the callback function callback is called using the detected device names and parameters that param specifies as parameters.
03/01/2006 Initial version.
05/29/2006 Added link to HIO2EnumCallback
07/18/2006 Revised mistake in the description of the return value on the host side.
CONFIDENTIAL