nn::applet::CTR::ProcessHomeButtonIfPrepared FunctionAppletWakeupState ProcessHomeButtonIfPrepared( void );
None.
Processes the HOME Button.
This uses the GetHomeButtonState function to check the state of the HOME Button and then, if necessary, calls the PrepareToJumpToHomeMenu, JumpToHomeMenu, and WaitForStarting functions in that order.
This function returns the value that is returned by the WaitForStarting function. If this is nn::applet::CTR::WAKEUP_BY_CANCEL, promptly exit the application.
For any other return value, resume normally.
CONFIDENTIAL