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 WPAD_STATE_*.

Description

Gets the operational status of 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 APIs until this status is achieved.
WPAD_STATE_DISABLING The status between calling the WPADShutdown function and halting wireless functionality.

See Also

WPAD Functions
WPADInit
WPADShutdown

Revision History

06/19/2006 Initial version.


CONFIDENTIAL