nn::applet::CTR::RestartApplication Function

Syntax

Result RestartApplication(
     const void * pParam = NULL,
     size_t paramSize = NN_APPLET_PARAM_BUF_SIZE
);

Parameters

Name Description
in pParam Data to be passed to an application that restarted itself.
in paramSize The size of pParam.

Return Values

Returns the result of the operation.

Description

Terminates the application and then restarts it.

Use the nn::applet::GetStartupArgument function to get the data specified to this function.

Note that the application will not restart if the debugger is attached.

See Also

GetStartupArgument

Revision History

2012/04/10
Added note that application will not restart if the debugger is attached.
2011/10/04
Added a description of and reference to a function that is used to get data.
2011/07/27
Initial version.

CONFIDENTIAL