NWC24GetMsgAttachedSize

C Specification

#include <revolution/nwc24.h>
NWC24Err NWC24GetMsgAttachedSize( const NWC24MsgObj* obj, u32 index, u32* size );

Description

Returns the message object settings (byte count of attached binaries).

Arguments

obj Message object from which settings are to be extracted.
index Index for specifying one of multiple binary attachments.
size Pointer to the location storing the extracted information, namely, the byte count of the attached binaries.

Return Values

NWC24_OK: Ended normally (value returned in *size).
NWC24_ERR_INVALID_VALUE: The attached binary specified by index does not exist, or else the value of index is invalid.

See Also

Revision History

2007/01/16 Updated descriptions of return values.
2006/08/01 Initial version.


CONFIDENTIAL