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>NWC24GetMsgType</TITLE>
7<LINK rel="stylesheet" type="text/css" href="../../CSS/revolution.css">
8</HEAD>
9<BODY>
10<H1>NWC24GetMsgType</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> NWC24GetMsgType( const <A HREF="../Types/NWC24MsgObj.html">NWC24MsgObj</A>* <EM>obj</EM>, <A HREF="../Types/NWC24MsgType.html">NWC24MsgType</A>* <EM>type</EM> );</CODE></PRE>
16</DL>
17
18<H2>Description</H2>
19<P>
20Returns the message object settings (message type).<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>obj</strong></em></code></TD>
27    <TD width="520">
28The message object from which settings are to be extracted.
29    </TD>
30  </TR>
31  <TR>
32<TD width="120" bgcolor="#ffffe8"><code><em><strong>type</strong></em></code></TD>
33    <TD width="520">
34Pointer to the location storing the extracted information (type).<BR>
35    </TD>
36  </TR>
37</TABLE>
38
39<h2>Return Values</h2>
40<P>
41<code>NWC24_OK</code>: Normal termination (a value is returned in *<code><em><strong>type</strong></em></code>).<BR> <code>NWC24_ERR_INVALID_VALUE</code>: An invalid value was specified for <code><em><strong>obj</strong></em></code> or <code><em><strong>type</strong></em></code>.<BR>
42</P>
43<P>
44*One of the values defined with <A HREF="../Types/NWC24MsgType.html"><code>NWC24MsgType</code></A> is stored in <code><em><strong>type</strong></em></code>.
45</P>
46
47<H2>See Also</H2>
48<P>
49</P>
50
51<H2>Revision History</H2>
52<P>
532006/09/21 Replaced the description of the message type with a link.<BR>2006/08/29 Revised the description of message types.<BR>2006/08/01 Initial version.
54</P>
55
56<hr><p>CONFIDENTIAL</p></body>
57</HTML>