nn::cec::CTR::MessageBox::SetBoxGroupNumMax Member Functionnn::Result SetBoxGroupNumMax( u32 num, CecBoxType boxType );
| Name | Description | |
|---|---|---|
| in | num | Maximum number of groups. |
| in | boxType | Inbox/outbox specification. |
| Value | Description |
|---|---|
ResultSuccess |
Process succeeded. |
ResultNotAuthorized |
The box has not been opened. |
ResultInvalidArgument |
Invalid number of groups. |
| A value other than the above. | Failed. |
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.
CONFIDENTIAL