DWC_GetState

Syntax

#include <dwc.h>

DWCState DWC_GetState( void );

Description

Gets the internal status of the DWC FriendsMatch Library(for debugging).

Use the acquired value only for debugging.

This function is for debugging, but it also works with the libraries of the final version of the ROM (FINALROM).

Arguments

None.

Return Values

DWC_STATE_INIT Initial state.
DWC_STATE_AVAILABLE_CHECK Checks whether the GameSpy server is in an available state after the DWC_LoginAsync function has been called.
DWC_STATE_LOGIN Connecting to the Nintendo Wi-Fi Connection server after the DWC_LoginAsync function has been called.
DWC_STATE_ONLINE Connection to a Nintendo Wi-Fi Connection server has been established.
DWC_STATE_UPDATE_SERVERS Running friend roster synchronous operations after the DWC_UpdateServersAsync function has been called.
DWC_STATE_MATCHING Currently matchmaking.
DWC_STATE_CONNECTED Matchmaking completed.

See Also

DWC_InitFriendsMatch
DWC_ShutdownFriendsMatch
DWC_LoginAsync
DWC_UpdateServersAsync

Revision History

2006/01/31 Set up a link to the FriendsMatch Library and deleted the terminology description.
2005/12/16 Initial version.


CONFIDENTIAL