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

Syntax

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

Arguments

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
ResultSuccess Process succeeded.
ResultNotAuthorized The box has not been opened.
A value other than the above. 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

2010/11/10
Initial version.

CONFIDENTIAL