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>NWC24ReadMsgAltName</TITLE> 7<LINK rel="stylesheet" type="text/css" href="../../CSS/revolution.css"> 8</HEAD> 9<BODY> 10<H1>NWC24ReadMsgAltName</H1> 11 12<H2>C Specification</H2> 13<DL> 14<DD><PRE><CODE>#include <revolution/nwc24.h></CODE></PRE> 15<DD><PRE><CODE><A HREF="../Types/NWC24Err.html">NWC24Err</A> NWC24ReadMsgAltName( const <A HREF="../Types/NWC24MsgObj.html">NWC24MsgObj</A>* <EM>obj</EM>, u16* <EM>name</EM>, u32 <EM>length</EM> );</CODE></PRE> 16</DL> 17 18<H2>Description</H2> 19<P> 20Reads the alternate nickname of the sender set for the message.<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>name</strong></em></code></TD> 33 <TD width="520"> 34Pointer to the region where the alternate nickname is stored. 35 </TD> 36 </TR> 37 <TR> 38<TD width="120" bgcolor="#ffffe8"><code><em><strong>length</strong></em></code></TD> 39 <TD width="520"> 40Size of the region specified by <code><em><strong>name</strong></em></code>.<BR> 41 </TD> 42 </TR> 43</TABLE> 44 45<h2>Return Values</h2> 46<P> 47<code>NWC24_OK</code>: Normal exit (the alternate nickname is returned in *<code><em><strong>name</strong></em></code>).<BR> <code>NWC24_ERR_LIB_NOT_OPENED</code>: Library not open.<BR> <code>NWC24_ERR_PROTECTED</code>: Message object cannot be read.<BR> <code>NWC24_ERR_OVERFLOW</code>: Alternate nickname set for the message object overflowed the buffer.<BR> <code>NWC24_ERR_FILE_*</code>: Internal file operation error.<BR> 48</P> 49 50<H2>See Also</H2> 51<P> 52</P> 53 54<H2>Revision History</H2> 55<P>2006/10/06 Initial version.</P> 56 57<hr><p>CONFIDENTIAL</p></body> 58</HTML>