nn::applet::CTR::GetStartupArgument Function

Syntax

bool GetStartupArgument(
     void * pParam,
     size_t paramSize = NN_APPLET_PARAM_BUF_SIZE
);

Parameters

Name Description
out pParam Buffer to get data
in paramSize The size of the parameter to get data.

Return Values

Returns false if the data could not be obtained.

Description

Gets the data that was specified when RestartApplication was called.

In a Debug/Development build, execution will stop at an assert statement if pParam is NULL. In a Release build, this function returns false because it cannot get data.

See Also

RestartApplication

Revision History

2011/10/11
Added a description of behavior when NULL is specified for the pParam argument.
2011/07/27
Initial version.

CONFIDENTIAL