nn::news::CTR::user::PostNews Constant

Syntax

Result PostNews(
     const wchar_t * subject,
     const wchar_t * message,
     const u8 * picture = NULL,
     size_t pictureSize = 0
);

Arguments

Name Description
in subject Specify the subject. Using UTF16-LE, use a maximum of SUBJECT_LEN characters (including the NULL terminator). Data will be copied within the function.
in message Specify the body of the message. Using UTF16-LE, use a maximum of MESSAGE_LEN characters (including the NULL terminator). Data will be copied within the function.
in picture Specify the image. Using the JPEG or MPO (2 JPEG file) format, make the size 400 x 240 pixels. Data will be copied within the function.
in pictureSize Specify the size of the image. The maximum size is PICTURE_SIZE.

Return Values

Returns the result of the operation.

Description

Posts a message.

Revision History

2010/11/10
Initial version.

CONFIDENTIAL