nn::applet::CTR::WaitForStarting FunctionAppletWakeupState WaitForStarting( AppletId * pSenderId = NULL, u8 * pParam = NULL, size_t paramSize = 0, s32 * pReadLen = NULL, nn::Handle * pHandle = NULL, nn::fnd::TimeSpan timeout = NN_APPLET_WAIT_INFINITE );
| Name | Description | |
|---|---|---|
| out | pSenderId | ID of the applet that sent the event. |
| out | pParam | Parameter buffer. |
| in | paramSize | Parameter buffer size. |
| out | pReadLen | Amount of data to read. |
| out | pHandle | Handler. |
| in | timeout | Timeout interval. |
Waits for this object's start event.
This function returns until the start event is received. This function returns a value from the AppletWakeupState enumerated type. The application must decide how to respond based on this value (whether to resume normally or exit).
If a value of nn::applet::CTR::WAKEUP_BY_CANCEL is received, promptly exit the application.
For any other value, resume the application normally.
CONFIDENTIAL