nn::applet::CTR::PrepareToCloseApplication FunctionResult PrepareToCloseApplication( void );
None.
Prepares to exit a program.
You can call the CloseApplication function after this one to exit the program.
If the HOME Menu or some other system application has not been loaded when control jumps to it, it is loaded by this function.
CONFIDENTIAL