nn::cec::CTR::MessageBox::ReadMessage Member Function

Syntax

nn::Result ReadMessage(
     Message & cecMessage,
     void * buf,
     const size_t bufLen,
     const CecBoxType boxType,
     const MessageId & messageId
);

Arguments

Name Description
out cecMessage Object of the Message class where the data should be loaded.
out buf Buffer that stores a Message binary array.
in bufLen Buffer size.
in boxType Inbox/outbox specification.
in messageId Specifies a MessageId.

Return Values

nn::Result

Value Description
ResultSuccess Process succeeded.
ResultStateBusy Unable to access because the daemon is busy.
ResultNotAuthorized The box has not been opened.
ResultInvalidArgument Either an argument was specified incorrectly or the message is corrupted and cannot be read.
A value other than the above. Failed.

Description

Reads a Message.


CONFIDENTIAL