SetBoxGroupNumMax

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

Syntax

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

Parameters

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

Return Values

nn::Result

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

Description

Specifies the maximum number of message groups in the inbox or outbox.


The number of groups is not actually restricted by this value.
Use this value as a guideline for how many groups can 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