GetMessageSize

nn::cec::CTR::MessageBox::GetMessageSize Member Function

Syntax

u32 GetMessageSize(
     const CecBoxType boxType,
     const u32 messIndex
) const;

Parameters

Name Description
in boxType CecBoxType
in messIndex The nth message.

Return Values

Message size.

Description

Gets the size of a message.

The total value of the header, signature, icon, body and any other data is used as the message size. Because this includes information automatically placed in the header by the system, the box size is determined based on the observation that the message size can be roughly approximated by adding about 8 KB to the body size.(→ CreateMessageBox)

Revision History

2011/10/27
Initial version.

CONFIDENTIAL