<?xml version="1.0" encoding="Shift_JIS"?>
<?xml-stylesheet type="text/xsl" href="../Fmethod_xsl/fmethod_he_c.xsl"?>

<root>
  <func>


    <title>etb_rderrmsg</title>



    <declare>
      <vc>
        <include>#include "fwlib32.h"</include>
        <prottype>FWLIBAPI short WINAPI etb_rderrmsg(unsigned short FlibHndl, short page_no, ODBETMSG *err_msg);</prottype>
      </vc>
    </declare>



    <doc>
        <cmn>
            <p>
                Get the error message which occurred in the Ethernet board.
                This function acquires the error message of the Ethernet board with the
                unit of a screen(38 characters * 10 lines).
                The total of error message screen can be acquired by 
                <a href="Data/etb_rdparam.htm" target="_parent">etb_rdparam</a>.
                The following message information can be acquired.
            </p>
            <li>SYSTEM ERROR screen</li>
            <li>TCP/IP STACK ERROR screen</li>
            <li>PARAMETER ERROR screen</li>
            <li>FTP SERVER MESSAGE screen</li>
            <li>DATA SERVER MESSAGE screen</li>
            <li>DATA SERVER #1 MESSAGE screen</li>
        </cmn>
    </doc>



    <argument>
        <hssb>
            <vc>
                <item>
                    <name>FlibHndl</name>
                    <type>in</type>
                    <content>
                        <p>
                            Specify the library handle. See "<a href="handle.htm" target="_parent">Library handle</a>" for details.
                        </p>
                    </content>
                </item>
                <item>
                    <name>page_no</name>
                    <type>in</type>
                    <content>
                        <p>
                            Specify the screen number for error message.
                            Specify from 1 to number of total for screen number.
                        </p>
                    </content>
                </item>
                <item>
                    <name>err_msg</name>
                    <type>out</type>
                    <content>
                        <p>
                            Specify the pointer to ODBTMSG structure to store the message which is acquired.
                            The ODBETMSG structure is as follows.
                        </p>
<pre>
typedef struct _odbetmsg {
    char    title[33];
    char    message[10][39];
} ODBETMSG;
</pre>
                        <dl>
                            <dt>err_msg.title[39]</dt>
                            <dd>Title of error message screen.</dd>
                            <dd>The Ascii string less than 32 characters which included NULL is set.</dd><br/>
                            <dt>err_msg.message[10][39]</dt>
                            <dd>Error message of message screen.</dd>
                            <dd>The information of 10 lines is set. (The one line is the Ascii string less than 39 characters which included NULL.)</dd>
                        </dl>
                    </content>
                </item>
            </vc>
        </hssb>
    </argument>



    <errcode>
        <item>
            <name>EW_NUMBER</name>
            <content>
                Data number error.<br/>
                The screen number(page_no) is wrong.
            </content>
        </item>
        <item>
            <name>EW_NOOPT</name>
            <content>No option</content>
        </item>
    </errcode>



    <option>
        <hssb>
            <p> 
                The DATA SERVER function and the extended driver/library function are necessary.
            </p>
        </hssb>
    </option>



    <parameter>
    </parameter>



    <mode>
    </mode>



    <support>
        <m>
            <fs0ia>X</fs0ia>
            <fs0ib>X</fs0ib>
            <fs15>X</fs15>
            <fs15i>X</fs15i>
            <fs16>X</fs16>
            <fs18>X</fs18>
            <fs21>X</fs21>
            <fs16ia>H</fs16ia>
            <fs18ia>H</fs18ia>
            <fs21ia>H</fs21ia>
            <fs16ib>H</fs16ib>
            <fs18ib>H</fs18ib>
            <fs21ib>H</fs21ib>
            <fs30i>X</fs30i>
        </m>
        <t>
            <fs0ia>X</fs0ia>
            <fs0ib>X</fs0ib>
            <fs15>X</fs15>
            <fs15i>X</fs15i>
            <fs16>X</fs16>
            <fs18>X</fs18>
            <fs21>X</fs21>
            <fs16ia>H</fs16ia>
            <fs18ia>H</fs18ia>
            <fs21ia>H</fs21ia>
            <fs16ib>H</fs16ib>
            <fs18ib>H</fs18ib>
            <fs21ib>H</fs21ib>
            <fs30i>X</fs30i>
        </t>
        <lc>
            <fs0ia>X</fs0ia>
            <fs0ib>X</fs0ib>
            <fs15>X</fs15>
            <fs15i>X</fs15i>
            <fs16>X</fs16>
            <fs18>X</fs18>
            <fs21>X</fs21>
            <fs16ia>X</fs16ia>
            <fs18ia>X</fs18ia>
            <fs21ia>X</fs21ia>
            <fs16ib>X</fs16ib>
            <fs18ib>X</fs18ib>
            <fs21ib>X</fs21ib>
            <fs30i>X</fs30i>
        </lc>
        <p>
            <fs16i>X</fs16i>
            <fs18i>X</fs18i>
        </p>
        <l>
            <fs16i>X</fs16i>
            <fs18i>X</fs18i>
        </l>
        <w>
            <fs16i>X</fs16i>
            <fs18i>X</fs18i>
        </w>
        <pw>
            <d>X</d>
            <h>X</h>
        </pw>
    </support>



    <reference>
    </reference>



    <example>
    </example>



  </func>
</root>
