DWC_GetFriendDataType

Syntax

#include <dwc.h>

int DWC_GetFriendDataType( const DWCFriendData* frienddata );

Description

Gets the type of data 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 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.
Although you may assume that a connection to the Wi-Fi Connection service has been established, this connection has not been verified with 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 the friend data is authentic, the status changes from LOGIN_ID, FRIEND_KEY to this status.

See Also

Revision History

2005/12/16 Corrected error in argument notation. Added description of the return value.
2005/10/20 Initial version.


CONFIDENTIAL