nn::applet::CTR::ProcessHomeButton Function
bool ProcessHomeButton(
void
);
None.
Processes transitions to the HOME Menu.
This function is used to jump to the HOME Menu when this is required by the IsExpectedToProcessHomeButton function.
Although this function is named ProcessHomeButton, it does not just process the HOME Button: it also accounts for close requests from other applets.
The return value indicates whether it is necessary to wait with the WaitForStarting function after this function is called. If this is true, call the WaitForStarting function. If this is false, you do not need to call the function. (Of course, even if you call the function it will simply exit without waiting.)
Use this ProcessHomeButton function instead of ProcessHomeButtonIfPrepared, which had been left in the API until the previous version for compatibility.
A value of true indicates that you must wait with the WaitForStarting function. A value of false indicates that you do not need to wait.
CONFIDENTIAL