nn::applet::CTR::PrepareToCloseApplication FunctionResult PrepareToCloseApplication( void );
None.
Result values listed below. | Value | Description |
|---|---|
Result::IsSuccess |
Process was successful. |
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.
nn::applet::CTR::CloseApplication.CONFIDENTIAL