nn::swkbd::CTR::ReturnCode Enumerated Type

Syntax

enum ReturnCode;

Value

Value Description
RETURN_CODE_UNKNOWN Ended abnormally.
RETURN_CODE_INVALID_CONFIG Config structure member variable has an invalid value.
RETURN_CODE_OUT_OF_MEMORY Ended abnormally due to insufficient memory.
RETURN_CODE_BOTTOM_BUTTON_1BUTTON The button of a 1-button-type bottom row was pressed.
RETURN_CODE_BOTTOM_BUTTON_2BUTTON_LEFT The left-side button of a 2-button-type bottom row was pressed.
RETURN_CODE_BOTTOM_BUTTON_2BUTTON_RIGHT The right-side button of a 2-button-type bottom row was pressed.
RETURN_CODE_BOTTOM_BUTTON_3BUTTON_LEFT The left-side button of a 3-button-type bottom row was pressed.
RETURN_CODE_BOTTOM_BUTTON_3BUTTON_MIDDLE The center button of a 3-button-type bottom row was pressed.
RETURN_CODE_BOTTOM_BUTTON_3BUTTON_RIGHT The right-side button of a 3-button-type bottom row was pressed.
RETURN_CODE_HOME_BUTTON HOME was pressed.
RETURN_CODE_SOFTWARE_RESET A combination of buttons causing a software reset was pressed.
RETURN_CODE_POWER_BUTTON The POWER button was pressed.
RETURN_CODE_PARENTAL_CONTROLS_SUCCESS Temporary disabling of Parental Controls succeeded.
RETURN_CODE_PARENTAL_CONTROLS_FAILURE Temporary disabling of Parental Controls failed.
RETURN_CODE_APP_TEXT_CHECK_NG Application performed text checking and returned an NG result (indicating that it found problems).
RETURN_CODE_MAX_BIT (This enumerator is used for internal processing. It cannot be used from the application.)

Description

Enumerated type representing return codes.

The values when ending normally are zero and above. The values when ending abnormally are negative.

Revision History

2011/04/12
Added descriptions to values that had no descriptions.
2011/03/01
Initial version.

CONFIDENTIAL