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>NWC24GetMsgFromId</TITLE> 7<LINK rel="stylesheet" type="text/css" href="../../CSS/revolution.css"> 8</HEAD> 9<BODY> 10<H1>NWC24GetMsgFromId</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> NWC24GetMsgFromId( const <A HREF="../Types/NWC24MsgObj.html">NWC24MsgObj</A>* <EM>obj</EM>, <A HREF="../Types/NWC24UserId.html">NWC24UserId</A>* <EM>userId</EM> );</CODE></PRE> 16</DL> 17 18<H2>Description</H2> 19<P> 20Returns the message object setting (message sender ID).<BR>This is valid only for objects storing information for messages exchanged between Wii consoles.<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>userId</strong></em></code></TD> 33 <TD width="520"> 34Pointer to the location storing the extracted information (message sender ID).<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 to *<code><em><strong>userId</strong></em></code>).<BR><code>NWC24_ERR_NOT_SUPPORTED</code>: The message object specified by <code><em><strong>obj</strong></em></code> is invalid or the message type is specified as <CODE>NWC24_MSGTYPE_PUBLIC</CODE>.<BR> 42</P> 43 44<H2>See Also</H2> 45<P> 46</P> 47 48<H2>Revision History</H2> 49<P> 502007/08/17 Revised the explanation for the return value <CODE>NWC24_ERR_NOT_SUPPORTED</CODE>.<BR>2006/08/01 Initial version. 51</P> 52 53<hr><p>CONFIDENTIAL</p></body> 54</HTML>