nn::cec::CTR::Message::SetMessageBody Member Functionnn::Result SetMessageBody( const void * dataBody, size_t size );
| Name | Description | |
|---|---|---|
| in | dataBody | Data. |
| in | size | Specifies the size (in bytes). The size must be set to a multiple of 4. Maximum length is 96 KB (100 KB including the header/extended header). |
| Value | Description |
|---|---|
Result::IsSuccess |
Process succeeded. |
ResultInvalidArgument |
Invalid data. |
ResultMisalignedSize |
The data size alignment is invalid. The size must be set to a multiple of 4. |
ResultTooLarge |
The data size is too large. |
ResultNotAuthorized |
Attempted to edit a message that had already been established and assigned a MessageId. |
| A value other than the above. | Process failed. |
Sets the data body of a message.
CONFIDENTIAL