NWC24SetSearchCondAppId

Syntax

#include <revolution/nwc24.h>
NWC24Err NWC24SetSearchCondAppId( u32 appId );

Description

Specifies the message search condition (application ID).

Specifying 0x00 for the lower 8 bits of appId is a special case: All messages whose remaining upper 24 bits match will be searched. The lower 8 bits correspond to the fourth character of the game code. As a result, messages will be searched for all regional versions of the same application.

Arguments

appId The search target application ID.

Return Values

NWC24_OK: Normal exit.
NWC24_ERR_LIB_NOT_OPENED: Library not opened.

See Also

NWC24SetSearchCondMsgBox, NWC24SetSearchCondForMenu, NWC24SetSearchCondPublic, NWC24SetSearchCondFromAddrId, NWC24SetSearchCondGroupId, NWC24SearchMsgs

Revision History

2008/05/01 Explained specific behavior and added the NWC24SetSearchCondGroupId function to See Also.
2007/09/03 Added the NWC24SetSearchCondPublic function to See Also.
2006/09/01 Initial version.


CONFIDENTIAL