nn::applet::CTR::PrepareToCloseApplication Function

Syntax

Result PrepareToCloseApplication(
     void
);

Arguments

None.

Return Values

Returns the result of the operation.

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.

However, if this function's return value indicates failure, do not call nn::applet::CTR::CloseApplication.

Failure could be due to a bug in the program, the HOME Menu not existing, or some other development mistake.

Revision History

2010/12/01
Added description of failure.
2010/11/10
Initial version.

CONFIDENTIAL