#include <revolution/nwc24.h>
NWC24Err NWC24DeleteMsg( NWC24MsgBoxId mboxId, u32 msgId );
Deletes the message with the specified ID from the specified message box.
A message can only be deleted by the same application that created that message.
mboxId |
Message box type (NWC24_SEND_BOX/NWC24_RECV_BOX) |
msgId |
ID of the message to be deleted |
NWC24_OK: Normal exit.
NWC24_ERR_LIB_NOT_OPENED: Library not open.
NWC24_ERR_INVALID_VALUE: A value other than NWC24_SEND_BOX or NWC24_RECV_BOX has been specified for mboxId or the value of msgId is invalid.
NWC24_ERR_NOT_FOUND: The message given by msgId does not exist in the message box.
NWC24_ERR_PROTECTED: The application currently running cannot delete the specified message.
NWC24_ERR_FATAL: A fatal error occurred upon message deletion.
NWC24_ERR_FILE_*: Internal file operation error.
NWC24_ERR_NAND_CORRUPT: Fatal corruption of Wii console NAND memory.
NWC24_ERR_INTERNAL_VF: VF error caused by an internal function call.
NWC24_ERR_VER_MISMATCH: Message box version error.
2008/01/17 Added return values that had been omitted.
2007/09/04 Removed some descriptions following specification changes.
2006/11/15 Added supplemental information and updated the list of return values.
2006/10/06 Updated the list of return values.
2006/08/01 Initial version.
CONFIDENTIAL