nn::applet::CTR::PrepareToCloseApplication Function

Syntax

Result PrepareToCloseApplication(
     void
);

Arguments

None.

Return Values

Returns the function's execution result. Returns one of the Result values listed below.
Value Description
ResultSuccess Process was successful.

Description

Prepares to exit a program.

This function loads the relevant data if the data has not been loaded when control transitions to the system side such as the HOME Menu.

Then call the nn::applet::CTR::CloseApplication function after this one to exit the program.

This function always succeeds. You do not need to check its return value.

Revision History

2011/02/24
Revised a description of the return value.
2010/12/01
Added description of failure.
2010/11/10
Initial version.

CONFIDENTIAL