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 name="GENERATOR" content="IBM WebSphere Studio Homepage Builder Version 7.0.0.0 for Windows">
7<META http-equiv="Content-Style-Type" content="text/css">
8<title>DWCRnkGetParam</title>
9<LINK rel="stylesheet" href="../css/nitro.css" type="text/css">
10</head>
11
12<body>
13
14<h1 align="left">
15<a name=""></a> DWCRnkGetParam
16</h1>
17<h2>Definition</h2>
18
19<dl>
20  <dd>
21<PRE><code>
22#include &lt;dwc.h&gt;
23
24typedef struct DWCRnkGetParam {
25    u32 size;
26    <a href=DWCRnkGetParam_order.html#>DWCRnkGetParam_order</a> order;
27    <a href=DWCRnkGetParam_toplist.html#>DWCRnkGetParam_toplist</a> toplist;
28    <a href=DWCRnkGetParam_nearby.html#>DWCRnkGetParam_nearby</a> nearby;
29    <a href=DWCRnkGetParam_friends.html#>DWCRnkGetParam_friends</a> friends;
30    u32 data;
31} DWCRnkGetParam;</code></PRE></dd>
32</dl>
33<H2>Description</H2>
34<p>Specify these parameters when getting scores using <A href="DWC_RnkGetScoreAsync.html"><CODE>DWC_RnkGetScoreAsync</CODE></a>. Be sure to set these parameters appropriately according to the score retrieval mode specified by <CODE>DWCRnkGetScoreAsync</CODE>.</p><TABLE border="1" width="100%">
35  <TBODY>
36
37    <TR>
38<TD width="13%"><EM><STRONG>size</STRONG></EM></TD>
39<TD width="87%">Size in bytes. Specifies the parameter size in accordance with the mode.<br> Example: Specify <CODE>sizeof(<A href="DWCRnkGetParam_order.html">DWCRnkGetParam_order</a>)</CODE> when in order retrieval mode (also called <EM>get rank</EM> mode).</TD>
40    </TR>
41
42    <TR>
43<TD width="13%"><EM><STRONG>order</STRONG></EM></TD>
44<TD width="87%">Specified when the mode is <a href=Macro.html#dwc__ranking_8h_1b024592ea57f7ecd5b76caee1edc5b192780d834ce449ab6c433688a1301e6d2><CODE>DWC_RNK_GET_MODE_ORDER</CODE></a>.</TD>
45    </TR>
46
47    <TR>
48<TD width="13%"><EM><STRONG>toplist</STRONG></EM></TD>
49<TD width="87%">Specified when the mode is <a href=Macro.html#dwc__ranking_8h_1b024592ea57f7ecd5b76caee1edc5b196a28982348d7e68f741fe17f02119472><CODE>DWC_RNK_GET_MODE_TOPLIST</CODE></a>.</TD>
50    </TR>
51
52    <TR>
53<TD width="13%"><EM><STRONG>nearby</STRONG></EM></TD>
54<TD width="87%">Specified when the mode is <CODE>DWC_RNK_GET_MODE_NEAR_*</CODE>.</TD>
55    </TR>
56
57    <TR>
58<TD width="13%"><EM><STRONG>friends</STRONG></EM></TD>
59<TD width="87%">Specified when the mode is <a href=Macro.html#dwc__ranking_8h_1b024592ea57f7ecd5b76caee1edc5b19dabfeed2395ed84700e7d7510b46ca00><CODE>DWC_RNK_GET_MODE_FRIENDS</CODE></a>.</TD>
60    </TR>
61
62    <TR>
63<TD width="13%"><EM><STRONG>data</STRONG></EM></TD>
64<TD width="87%">Used internally by the library.</TD>
65    </TR>
66
67  </TBODY>
68</TABLE>
69
70<h2>See Also</h2>
71<p>
72
73<CODE><A href="DWC_RnkGetScoreAsync.html">DWC_RnkGetScoreAsync</A></CODE>
74
75</p>
76
77<H2>Revision History</H2>
78<DL>
79
80<DT><para>1.4.5</DT>
81<DD>Added mention of <CODE>DWC_RNK_GET_MODE_NEAR_*</CODE></DD>
82
83</DL>
84<hr><p>CONFIDENTIAL</p></body>
85</html>
86