nn::cec::CTR::Message::SetMessageBody Member Function

Syntax

nn::Result SetMessageBody(
     const void * dataBody,
     size_t size
);

Parameters

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

Return Values

nn::Result

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.

Description

Sets the data body of a message.

Revision History

2010/08/16
Initial version.

CONFIDENTIAL