nn::cec::CTR::MessageBox::SetBoxGroupNumMax Member Function

Syntax

nn::Result SetBoxGroupNumMax(
     u32   num,
     CecBoxType boxType
);

Arguments

Name Description
in num Maximum number of groups.
in boxType Inbox/outbox specification.

Return Values

nn::Result

Value Description
ResultSuccess Process succeeded.
ResultNotAuthorized The box has not been opened.
ResultInvalidArgument Invalid number of groups.
A value other than the above. Failed.

Description

Sets the maximum number of Message groups in the inbox or outbox.


The number of groups is not actually restricted by this value.
This value is a guideline for informing the user of (displaying to the user) the number that may be saved. The value to specify should be roughly the size of the inbox (GetBoxSizeMax(CEC_BOXTYPE_INBOX)) ÷ the size of one group, or the maximum number of inbox Messages (GetBoxMessNumMax(CEC_BOXTYPE_INBOX)) ÷ the number of messages in one group.

Revision History

2010/08/16
Initial version.

CONFIDENTIAL