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>NWC24SetSearchCondTag</TITLE>
7<LINK rel="stylesheet" type="text/css" href="../../CSS/revolution.css">
8</HEAD>
9<BODY>
10<H1>NWC24SetSearchCondTag</H1>
11
12<H2>C Specification</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> NWC24SetSearchCondTag( u16 <EM>tag</EM>, <A HREF="../Types/NWC24SearchCompareMode.html">NWC24SearchCompareMode</A> <EM>mode</EM> );</CODE></PRE>
16</DL>
17
18<H2>Description</H2>
19<P>
20Specifies the message search condition (the tag).<BR>
21</P>
22
23<H2>Arguments</H2>
24<TABLE border="1" cellpadding="3" cellspacing="0.1">
25  <TR>
26<TD width="120" bgcolor="#ffffe8"><code><em><strong>tag</strong></em></code></TD>
27    <TD width="520">
28The value of the tag to be used for searching.
29    </TD>
30  </TR>
31  <TR>
32<TD width="120" bgcolor="#ffffe8"><code><em><strong>mode</strong></em></code></TD>
33    <TD width="520">
34The method of matching to use when searching.<BR>
35      <TABLE width="500" border="1" cellspacing="0.1">
36          <TR>
37<TD width="150" bgcolor="#C0C0C0">Value</TD>
38<TD width="350" bgcolor="#C0C0C0">Description</TD>
39          </TR>
40          <TR>
41<TD><code>NWC24_SEARCH_CMP_NEQUAL</code></TD><TD>Not equal to the value of <code><em><strong>tag</strong></em></code>.</TD>
42          </TR>
43          <TR>
44<TD><code>NWC24_SEARCH_CMP_EQUAL</code></TD><TD>Equal to the value of <code><em><strong>tag</strong></em></code>.</TD>
45          </TR>
46          <TR>
47<TD><code>NWC24_SEARCH_CMP_LEQUAL</code></TD><TD>Less than or equal to the value of <code><em><strong>tag</strong></em></code>.</TD>
48          </TR>
49          <TR>
50<TD><code>NWC24_SEARCH_CMP_GEQUAL</code></TD><TD>Greater than or equal to the value of <code><em><strong>tag</strong></em></code>.</TD>
51          </TR>
52          <TR>
53<TD><code>NWC24_SEARCH_CMP_BITMASK</code></TD><TD>Non-zero results when masked by the <code><em><strong>tag</strong></em></code> value.</TD>
54          </TR>
55      </TABLE>
56    </TD>
57  </TR>
58</TABLE>
59
60<h2>Return Values</h2>
61<P>
62<code>NWC24_OK</code>: Normal exit.<BR><code>NWC24_ERR_LIB_NOT_OPENED</code>: Library not open.<BR>
63</P>
64
65<H2>See Also</H2>
66<P>
67<A href="NWC24SetSearchCondMsgBox.html"><CODE>NWC24SetSearchCondMsgBox</CODE></A>, <A href="NWC24SetSearchCondForMenu.html"><CODE>NWC24SetSearchCondForMenu</CODE></A>, <A href="NWC24SetSearchCondFromAddrId.html"><CODE>NWC24SetSearchCondFromAddrId</CODE></A>, <A href="NWC24SearchMsgs.html"><CODE>NWC24SearchMsgs</CODE></A>
68</P>
69
70<H2>Revision History</H2>
71<P>
722007/07/13 Added link to <CODE>NWC24SearchCompareMode</CODE>.<BR>2007/07/10 Initial version.
73</P>
74
75<hr><p>CONFIDENTIAL</p></body>
76</HTML>