nn::cec::CTR::MessageBox::OpenMessageBox Member Function
nn::Result OpenMessageBox(
const TitleId cecTitleId,
const u32 privateId
);
| 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. |
| 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. |
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.
CONFIDENTIAL