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. |
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. |
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.
CONFIDENTIAL