nn::cec::CTR::MessageBox::DeleteMessageBox Member Function

Syntax

nn::Result DeleteMessageBox();

Arguments

None.

Return Values

nn::Result

Value Description
ResultSuccess Process succeeded.
ResultBoxAlreadyExists The box already exists.
ResultBoxNumFull The maximum number of boxes have been created. To create a new box, you must delete a box for another game title.
ResultInvalidArgument An argument was specified incorrectly.
ResultInvalidData There is a problem with the data being set.
ResultStateBusy Unable to access because the daemon is busy.
A value other than the above. Failed.

Description

Deletes a MessageBox.

Deletes the box that has been opened by the OpenMessageBox function. Also erases the list of previous communication partners, making reconnection to those same communication partners possible. After doing so, data can be exchanged again not only for the currently set message box, but for all message boxes (all applications). Lists are also erased when communication is started by a call to nncec::CTR::CecControl::StartScanning(true).


CONFIDENTIAL