#include <cafe/pads/wpad/wpad.h> #define WPAD_CLEAR_EVT_START 0 #define WPAD_CLEAR_EVT_DONE 1 typedef void (*WPADClearDeviceCallback) ( s32 result ); WPADClearDeviceCallback *WPADSetClearDeviceCallback( WPADClearDeviceCallback callback );
|callback||Sets the callback called when all the device information is completely deleted.|
A pointer to the previously set callback.
Sets the callback called when all the device information is completely deleted.
One of the
WPAD_CLEAR_EVT_* set is passed as the
result argument for the callback function.
|WPAD_CLEAR_EVT_START||This is not used in Wii U console.|
|WPAD_CLEAR_EVT_DONE||Full deletion has ended.|
|Background||Do not call this function from the background.|
|Interrupt handler||Do not call this function from any interrupt handler.|
|Exception handler||Do not call this function from any exception handler.|
|Multiple Cores||Do not call this function from more than one Core.|
2013/05/08 Automated cleanup pass.
2006/06/19 Initial version.