WPADSetClearDeviceCallback

Syntax

#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 );

Parameters

callback Sets the callback called when all the device information is completely deleted.

Return Values

A pointer to the previously set callback.

Description

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_DONEFull deletion has ended.

Do Not Call From

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.

See Also

WPADStartClearDevice

Revision History

2013/05/08 Automated cleanup pass.
2006/06/19 Initial version.


CONFIDENTIAL