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 occurring.
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) is specified to the DWC_RnkGetScoreAsync function, this function will fail because a ranking list is not retrieved.

Revision History


CONFIDENTIAL