DWC_RnkResGetRowCount

Syntax

#include <dwc.h>
DWCRnkError DWC_RnkResGetRowCount(u32 *count);

Arguments

count Pointer to the variable that gets the number of rows.

Return Values

DWC_RNK_SUCCESS Succeeded.
DWC_RNK_IN_ERROR An error is being generated.
DWC_RNK_ERROR_INVALID_MODE Invalid mode.
DWC_RNK_ERROR_INVALID_PARAMETER Invalid parameter.
DWC_RNK_ERROR_NOTCOMPLETED Communications not completed.
DWC_RNK_ERROR_EMPTY_RESPONSE Empty response.

Description

This function gets the number of rows in the ranking list received as a result of a request to theDWC_RnkGetScoreAsync function according to the specified ranking list retrieval mode (DWC_RNK_GET_MODE_TOPLIST, DWC_RNK_GET_MODE_NEAR, or DWC_RNK_GET_MODE_FRIENDS).

If order retrieval mode (DWC_RNK_GET_MODE_ORDER) was specified to the DWC_RnkGetScoreAsync function, this function fails because a ranking list is not retrieved in that mode.

Revision History

For the changelog prior to 5.1 PR2, click here.


CONFIDENTIAL