1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<HTML>
3<HEAD>
4<META http-equiv="Content-Type" content="text/html; charset=windows-1252">
5<META http-equiv="Content-Style-Type" content="text/css">
6<TITLE>NWC24SetSearchCondAppId</TITLE>
7<LINK rel="stylesheet" type="text/css" href="../../CSS/revolution.css">
8</HEAD>
9<BODY>
10<H1>NWC24SetSearchCondAppId</H1>
11
12<H2>Syntax</H2>
13<DL>
14  <DD><PRE><CODE>#include &lt;revolution/nwc24.h&gt;</CODE></PRE>
15  <DD><PRE><CODE><A HREF="../Types/NWC24Err.html">NWC24Err</A> NWC24SetSearchCondAppId( u32 <EM>appId</EM> );</CODE></PRE>
16</DL>
17
18<H2>Description</H2>
19<P>
20Specifies the message search condition (application ID).
21</P>
22<P>
23Specifying 0x00 for the lower 8 bits of <CODE><EM>appId</EM></CODE> 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.
24</P>
25
26<H2>Arguments</H2>
27<TABLE border="1" cellpadding="3" cellspacing="0.1">
28  <TR>
29<TD width="120" bgcolor="#ffffe8"><code><em><strong>appId</strong></em></code></TD>
30    <TD width="520">
31The search target application ID.
32    </TD>
33  </TR>
34</TABLE>
35
36<h2>Return Values</h2>
37<P>
38<code>NWC24_OK</code>: Normal exit.<BR><code>NWC24_ERR_LIB_NOT_OPENED</code>: Library not opened.<BR>
39</P>
40
41<H2>See Also</H2>
42<P>
43    <A href="NWC24SetSearchCondMsgBox.html"><CODE>NWC24SetSearchCondMsgBox</CODE></A>,
44    <A href="NWC24SetSearchCondForMenu.html"><CODE>NWC24SetSearchCondForMenu</CODE></A>,
45    <A href="NWC24SetSearchCondPublic.html"><CODE>NWC24SetSearchCondPublic</CODE></A>,
46    <A href="NWC24SetSearchCondFromAddrId.html"><CODE>NWC24SetSearchCondFromAddrId</CODE></A>,
47    <A href="NWC24SetSearchCondGroupId.html"><CODE>NWC24SetSearchCondGroupId</CODE></A>,
48    <A href="NWC24SearchMsgs.html"><CODE>NWC24SearchMsgs</CODE></A>
49</P>
50
51<H2>Revision History</H2>
52<P>
532008/05/01 Explained specific behavior and added the <CODE>NWC24SetSearchCondGroupId</CODE> function to <B>See Also</B>. <BR>2007/09/03 Added the <CODE>NWC24SetSearchCondPublic</CODE> function to <B>See Also</B>. <BR>2006/09/01 Initial version.<BR>
54</P>
55
56<hr><p>CONFIDENTIAL</p></body>
57</HTML>