1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 2<html> 3 4<head> 5<META http-equiv="Content-Type" content="text/html; charset=windows-1252"> 6<META http-equiv="Content-Style-Type" content="text/css"> 7<META name="GENERATOR" content="IBM WebSphere Studio Homepage Builder Version 7.0.0.0 for Windows"> 8<title>DWC_GetFriendDataType</title> 9<LINK rel="stylesheet" href="../css/nitro.css" type="text/css"> 10</head> 11 12<body> 13<a name="dwc__account_8h_197251c6e140d85efa91f52ed5ef4ff3a"></a> 14<h1 align="left">DWC_GetFriendDataType</h1> 15<h2>Syntax</h2> 16 17<dl> 18 <dd> 19<CODE>#include <dwc.h></CODE><BR> 20 <BR> 21 <PRE><CODE>int <a href=DWC_GetFriendDataType.html#dwc__account_8h_197251c6e140d85efa91f52ed5ef4ff3a>DWC_GetFriendDataType</a>(const DWCFriendData *frienddata);</CODE></PRE></dd> 22</dl> 23 24<h2>Arguments</h2> 25 26<TABLE border="1" width="100%"> 27 <TBODY> 28 29 <TR> 30<TD width="13%"><EM><STRONG>frienddata</STRONG></EM></TD> 31<TD width="87%">Pointer to the buffer for the <CODE>DWCFriendData</CODE> structure that stores the friend data.</TD> 32 </TR> 33 34 </TBODY> 35</TABLE> 36 37<h2>Return Values</h2> 38 39<TABLE border="1" width="100%"> 40 <TBODY> 41 42 <TR> 43<TD width="13%"><EM><STRONG>DWC_FRIENDDATA_NODATA</STRONG></EM></TD> 44<TD width="87%">There is no friend data stored.<br>This is the initial state.</TD> 45 </TR> 46 47 <TR> 48<TD width="13%"><EM><STRONG>DWC_FRIENDDATA_LOGIN_ID</STRONG></EM></TD> 49<TD width="87%">ID for the state where the system has never connected to the Nintendo Wi-Fi Connection service.</TD> 50 </TR> 51 52 <TR> 53<TD width="13%"><EM><STRONG>DWC_FRIENDDATA_FRIEND_KEY</STRONG></EM></TD> 54<TD width="87%">Friend code.<br>Although this host has probably connected at least once to the Wi-Fi Connection service, in this state no confirmation has been sent to the Wi-Fi Connection server as to whether this is authentic friend data.</TD> 55 </TR> 56 57 <TR> 58<TD width="13%"><EM><STRONG>DWC_FRIENDDATA_GS_PROFILE_ID</STRONG></EM></TD> 59<TD width="87%">GS profile ID obtained by connecting to the Nintendo Wi-Fi Connection service.<br>When the Wi-Fi Connection server confirms that this is authentic friend data, the status changes from LOGIN_ID or FRIEND_KEY to this status.</TD> 60 </TR> 61 62 </TBODY> 63</TABLE> 64 65<H2>Description</H2> 66<p>Gets the type of data stored in the friend data specified by <CODE>frienddata</CODE>.</p> 67 68<H2>Revision History</H2> 69<DL> 70 71</DL> 72<hr><p>CONFIDENTIAL</p></body> 73</html> 74