nn::applet::CTR::CloseApplication FunctionResult CloseApplication( const u8 * pParam = NULL, size_t paramSize = 0, Handle handle = NN_APPLET_HANDLE_NONE );
| Name | Description | |
|---|---|---|
| in | pParam | Parameter buffer. |
| in | paramSize | Parameter buffer size. |
| in | handle | Handle |
Exits the program.
You must call the nn::applet::CTR::PrepareToCloseApplication function before this one.
This function does not return. The function has a return value, but the process exits, so there is no way to actually return a value.
You can pass data to the next program launched by specifying it in the pParam, paramSize, and handle arguments, but since this cannot be utilized by normal applications, use the default values instead. Nintendo recommends calling without any arguments.
CONFIDENTIAL