nn::cec::CTR::MessageBox::OpenMessageBox Member Function

Syntax

nn::Result OpenMessageBox(
     const TitleId cecTitleId,
     const u32 privateId
);

Arguments

Name Description
in cecTitleId StreetPass ID
in privateId Specify the same value that was specified when the box was created using CreateMessageBox. You will not be able to access the box if you specify any other value.

Return Values

nn::Result

Value Description
ResultSuccess Process succeeded.
ResultNotAuthorized Unable to access because the private IDs are different.
ResultStateBusy Unable to access because the daemon is busy.
A value other than the above. Failed.

Description

Opens a MessageBox. You must use this function to open a box before you can access the messages within it.

When this function is called, the CEC daemon operating in the background stops. Call the CloseMessageBox function when you have finished accessing the box.

Revision History

2010/08/16
Initial version.

CONFIDENTIAL