nn::boss::SetOptoutFlag Function

Syntax

nn::Result SetOptoutFlag(
     bool flag
);

Arguments

Name Description
in flag Specifies the OptoutFlag.

Return Values

Returns the function's execution result. Returns one of the Result values listed below.
Value Description
ResultSuccess Set successfully.
ResultStorageNotFound Storage has not been registered for the corresponding application ID. Confirm whether any storage has been registered yet.
ResultIpcNotSessionInitialized Either the session is not initialized or there are incompatible permissions. This Result is returned if this function is called before the Initialize or the InitializePriviledged function is called. Always call the Initialize or InitializePrivileged function first when you use the BOSS library.
A value other than the above. Unexpected error (see boss_Result.h for error details).

Description

Sets the OptoutFlag. When this flag is enabled, administrator NS data is not written to the administrator storage region even if it is received while the NSA download task is running.

Revision History

2010/09/16
Initial version.

CONFIDENTIAL