NWC24InitMsgObj

C Specification

#include <revolution/nwc24.h>
NWC24Err NWC24InitMsgObj( NWC24MsgObj* obj, NWC24MsgType type );

Description

Initializes the message object used to create a new message.
To call the NWC24SetMsg* type functions and configure various settings, the message object must be initialized first.

Arguments

obj Pointer to the message object to be initialized.
type Message type
Name Description
NWC24_MSGTYPE_WII_APP
NWC24_MSGTYPE_RVL_APP
Messages used by the application and exchanged between Wii consoles. The content can be referenced by any application.
NWC24_MSGTYPE_WII_APP_HIDDEN
NWC24_MSGTYPE_RVL_APP_HIDDEN
Messages exchanged between Wii consoles can only be opened by the relevant application.
NWC24_MSGTYPE_WII_MENU
NWC24_MSGTYPE_RVL_MENU
Messages that are posted on the Wii Message Board and are exchanged between Wii consoles.
NWC24_MSGTYPE_WII_MENU_SHARED
NWC24_MSGTYPE_RVL_MENU_SHARED
Messages that are posted on the Wii Message Board and are exchanged between Wii consoles. The contents can be referenced from any application.
NWC24_MSGTYPE_PUBLIC Messages that are exchanged with a general e-mail address

Return Values

NWC24_OK: Ended normally.
NWC24_ERR_INVALID_VALUE: Invalid message type specified in type.

See Also

Revision History

2006/09/21 Revised the description for each message type again.
2006/08/29 Revised the description for each message type.
2006/08/01 Initial version.


CONFIDENTIAL