nn::boss::NsData::SetReadFlag Member Function

Syntax

nn::Result SetReadFlag(
     bool flag
);

Arguments

Name Description
in flag Specifies the flag to get. Returns true if already read.

Return Values

Returns the function's execution result. Returns one of the Result values listed below.
Value Description
ResultSuccess Set successfully.
ResultNsDataNotFound The specified NS data is not found. It might have been automatically deleted.
ResultStorageAccessPermission You do not have storage access rights. Cannot access the expanded save region. Reconfirm your access rights.
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 read flag of the NS data. The application can set this, but note that the flag is reset to "unread" when a new version of the NS data file is downloaded.

Revision History

2010/09/16
Initial version.

CONFIDENTIAL