nn::cec::CTR::MessageBox::CommitMessageBox Member Function

Syntax

nn::Result CommitMessageBox();

Parameters

None.

Return Values

nn::Result

Value Description
Result::IsSuccess Process succeeded.
A value other than the above. Process failed.

Description

Commits the data written in the system save region.

When the program stops without calling this function, there is a chance that all changes from the previous commit to the present (the box's creation, its written or deleted messages, and so on) will be rolled back.
(Because the data is also committed after the system saves data received via communications, changes will not necessarily always be rolled back even if this function is not used to commit the data.)
Note: This possibility of changes getting reverted also exists whenever communication control returns to the system (for example, due to Sleep Mode or HOME Menu transition).
Commit is also performed when CloseMessageBox is called.

Revision History

2010/11/10
Initial version.

CONFIDENTIAL