nn::applet::CTR::Initialize Function

Syntax

Result Initialize(
AppletAttr appletAttr = NN_APPLET_DEFAULT_APPLET_ATTRIBUTE
);

Arguments

Name Description
in appletAttr Options to use when initializing the applet library. Do not specify arguments; use the default ones.

Return Values

Returns the result of initialization.

Description

Initializes the applet library.

Applications must call this function. However, because the default nninitSetup calls this function you only need to do so if your application redefines nninitSetup.

Do not call this function more than once (including the call within nninitSetup).

If an application calls this function itself, it must do so at the very beginning. In addition, to enable the features of the applet library, you will need to call the applet::Enable function after this function.

Even though you can specify options with appletAttr, such as whether to switch rendering manually, as a general rule use the default arguments without specifying anything. This function is also called with the default arguments by nninitSetup.

Revision History

2010/11/15
Made revisions in conjunction with the addition of the applet::Enable function.
2010/11/10
Initial version.

CONFIDENTIAL