DWC_GetFriendDataType

Syntax

#include <dwc.h>
int DWC_GetFriendDataType(const DWCFriendData *frienddata);

Arguments

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

Return Values

DWC_FRIENDDATA_NODATA No friend information is stored.
This is the initial state.
DWC_FRIENDDATA_LOGIN_ID ID for the state where the system has never connected to the Nintendo Wi-Fi Connection service.
DWC_FRIENDDATA_FRIEND_KEY Friend registration key.
This status indicates that the friend has presumably connected to Wi-Fi Connection at some point, but this friend information has not yet been verified as authentic by the Wi-Fi Connection server.
DWC_FRIENDDATA_GS_PROFILE_ID GS profile ID obtained by connecting to the Nintendo Wi-Fi Connection service.
When the Wi-Fi Connection server confirms that this is authentic friend information, the status changes from LOGIN_ID or FRIEND_KEY to this status.

Description

Gets the type of the friend information specified by frienddata.

Revision History

For the changelog prior to 5.1 PR2, click here.


CONFIDENTIAL