WPADGetStatus

C Specification

#include <revolution/wpad.h>

#define WPAD_STATE_DISABLED          0
#define WPAD_STATE_ENABLING          1
#define WPAD_STATE_ENABLED           2
#define WPAD_STATE_SETUP             3
#define WPAD_STATE_DISABLING         4

s32 WPADGetStatus( void );

Arguments

None.

Return Values

One of the WPAD_STATE_*.

Description

Gets the operational status of the library. Each status is as follows.

WPAD_STATE_DISABLED Wireless functionality is halted.
WPAD_STATE_ENABLING The status between calling the WPADInit function and wireless functionality becomes enabled.
WPAD_STATE_ENABLED Wireless functionality is running.
WPAD_STATE_SETUP Wireless functionality is initialized. Ensure that the game application calls no other WPAD functions until this status is achieved.
WPAD_STATE_DISABLING State indicating that library is being stopped inside a reset/shutdown process.

See Also

WPAD Function
WPADInit, WPADShutdown, WPADReconnect

Revision History

2006/10/23 Changed the description of WPAD_STATE_DISABLING.
2006/09/06 Added a description of WPADReconnect
2006/06/19 Initial version.


CONFIDENTIAL