DWC_GetState

C Specification

#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 is called.
DWC_STATE_LOGIN Connecting to the Nintendo Wi-Fi Connection server after the DWC_LoginAsync function is called.
DWC_STATE_ONLINE After a connection to a Nintendo Wi-Fi Connection server has been made.
DWC_STATE_UPDATE_SERVERS Running friend roster synchronous operations after calling the DWC_UpdateServersAsync function.
DWC_STATE_MATCHING Currently matchmaking.
DWC_STATE_CONNECTED After completing matchmaking.

See Also

DWC_InitFriendsMatch, DWC_ShutdownFriendsMatch, DWC_LoginAsync, DWC_UpdateServersAsync

Revision History

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