SetMessageBoxIcon

nn::cec::CTR::MessageBox::SetMessageBoxIcon Member Function

Syntax

nn::Result SetMessageBoxIcon(
     const void * data,
     size_t dataSize
);

Parameters

Name Description
in data Specifies the icon data to be displayed on the system management screen and elsewhere.
Format: RGB565 (little-endian)
Size: 48 x 48 (4.5 KB)
in dataSize Specifies the data size.

Return Values

nn::Result

Value Description
Result::IsSuccess Process succeeded.
ResultNotAuthorized The box has not been opened.
A value other than the above. Process failed.

Description

Sets a MessageBox's icon.

There are two types of StreetPass icons used on System Settings screens and other screens. There is a box icon and an icon for individual messages. You must specify both. This function sets the box icon.

Revision History

2011/10/27
Initial version.

CONFIDENTIAL