nn::applet::CTR::PrepareToCloseApplication Function

Syntax

Result PrepareToCloseApplication(
     void
);

Parameters

None.

Return Values

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

Description

Prepares to exit a program.

It is not necessary to use this function because it is called automatically as needed from within nn::applet::CTR::CloseApplication.

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.

There is no need to check the return value because this function always succeeds.

Revision History

2011/02/25
Added note about automatic call within nn::applet::CTR::CloseApplication.
2011/02/24
Revised information about return value
2010/12/01
Added description of failure.
2010/11/10
Initial version.

CONFIDENTIAL