nn::applet::CTR::Initialize FunctionResult Initialize( AppletAttr appletAttr = NN_APPLET_DEFAULT_APPLET_ATTRIBUTE );
| Name | Description | |
|---|---|---|
| in | appletAttr | Options to use when initializing the applet library. Do not specify arguments; use the default ones. |
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.
applet::Enable function.
CONFIDENTIAL