DWC_UpdateConnection

Syntax

#include <dwc.h>

BOOL DWC_UpdateConnection( void );

Description

This function checks whether a connection to an access point is being maintained normally.

After the connection to the Internet has been established, be sure to call this function approximately every game frame. However, because the same type of processing is performed by DWC_ProcessFriendsMatch, this function does not have to be called with the FriendsMatch Library.

If the connection to the access point is lost, TRUE is returned. Be sure to get the error state with DWC_GetLastErrorEx. Display the error code along with the error message, as necessary. For creating this error message, refer to the Nintendo Wi-Fi Connection Programming Guidelines.

Arguments

None.

Return Values

TRUE Disconnected from the access point.
FALSE Connection to the access point is still maintained.

See Also

DWC_GetLastErrorEx
DWC_ProcessFriendsMatch

Revision History

2006/07/24 Added a description about the relationship to the FriendsMatch Library.
2006/06/27 Initial version.


CONFIDENTIAL