nn::cec::CTR::MessageBox::WriteMessage Member Function

Syntax

nn::Result WriteMessage(
const Message & cecMessage,
const CecBoxType boxType,
MessageId & messageIdOut
);

nn::Result WriteMessage(
const Message & cecMessage,
const CecBoxType boxType,
MessageId & messageIdOut,
bool withWriteBoxInfo
);

List of Overloaded Member Functions

WriteMessage ( const Message &, const CecBoxType, MessageId & ) Writes a message to the system save region.
WriteMessage ( const Message &, const CecBoxType, MessageId &, bool ) Writes a message to the system save region.

Description of WriteMessage ( const Message &, const CecBoxType, MessageId & )

The message cannot be written if its size is larger than 100 KB or if writing it would exceed the box's maximum storage capacity or maximum number of messages. After writing, the written data is committed after CloseMessageBox or CommitMessageBox are called.
When the function writes the message, it checks the EULA agreement version, and if the icon file is not configured, the function returns ResultNotAgreeEula.
You must initialize the FS library before calling this function because this function uses the FS library to check the EULA.

Description of WriteMessage ( const Message &, const CecBoxType, MessageId &, bool )

The message cannot be written if its size is larger than 100 KB or if writing it would exceed the box's maximum storage capacity or maximum number of messages. After writing, the written data is committed when CloseMessageBox or CommitMessageBox is called. If you set withWriteBoxInfo equal to false, updates to the internal message list are skipped. This allows you to shorten the amount of time taken to write multiple consecutive messages. Note that the GetMessageBoxXXX functions are unable to get accurate information if the list has not been updated.
When the function writes the message, it checks the EULA agreement version, and if the icon file is not configured, the function returns ResultNotAgreeEula.
You must initialize the FS library before calling this function because this function uses the FS library to check the EULA.


CONFIDENTIAL