DWC_GetFriendDataType

C Specification

#include <dwc.h>

int DWC_GetFriendDataType( const DWCFriendData* frienddata );

Description

Obtains the type of the data that is stored in the friend data specified by frienddata.

Arguments

frienddata Pointer to the buffer for the DWCFriendData structure that stores the friend data.

Return Values

DWC_FRIENDDATA_NODATA No friend data has been stored
This is the initial state.
DWC_FRIENDDATA_LOGIN_ID ID for the state when the DS system has never connected to Nintendo Wi-Fi Connection.
DWC_FRIENDDATA_FRIEND_KEY Friend registration key.
Although it can be considered that a connection has been made once to WiFi Connection, no confirmation has been sent to the WiFi Connection server as to if this is authentic friend data.
DWC_FRIENDDATA_GS_PROFILE_ID GS profile ID obtained by connecting to Nintendo Wi-Fi Connection.
When the Wi-Fi Connection server confirms that this is authentic friend data, status moves from LOGIN_ID, FRIEND_KEY to this status.

See Also

Revision History

12/16/2005 Revised mistaken argument notation Added description of the return value.
10/20/2005 Initial version.