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 name="GENERATOR" content="Microsoft FrontPage 5.0"> 6<META http-equiv="Content-Style-Type" content="text/css"> 7<LINK rel="stylesheet" type="text/css" href="../../CSS/revolution.css"> 8<TITLE>GXSetVerifyLevel</TITLE> 9</HEAD> 10<BODY> 11<H1 align="left">GXSetVerifyLevel</H1> 12<H2>C Specification</H2> 13<DL> 14 <DD> 15<PRE><CODE>#include <revolution/gx.h></CODE></PRE> 16 <DD> 17<PRE><CODE>void GXSetVerifyLevel( <a href="../Enumerated_Types/GXWarningLevel.html">GXWarningLevel</a> level )</CODE></PRE> 18</DL> 19<H2>Arguments</H2> 20<DIV align="left"> 21<TABLE border="1" cellpadding="3" cellspacing="0.1"> 22 <TBODY> 23 <TR> 24<TD width="120" valign="top" bgcolor="#ffffe8"><CODE><EM><STRONG>level</STRONG></EM></CODE></TD> 25<TD width="520">Specifies level of severity of <A href="GX_Runtime_Warnings.html" target="_self">runtime warnings</A>. Accepted values are: 26 <TABLE width="500" border="1" cellspacing="0.1"> 27 28 <tr> 29<TD bgcolor="#C0C0C0" width="150">Name</TD> 30<TD bgcolor="#C0C0C0" width="350">warning mode</TD> 31 </tr> 32 <tr> 33 <TD width="150"> 34<CODE> GX_WARN_NONE</font></TD> 35<TD width="350">Disables runtime warnings.</TD> 36 </tr> 37 <tr> 38<TD width="150"><CODE> GX_WARN_SEVERE</font></TD> 39<TD width="350">Checks and reports only on critical warnings.</TD> 40 </tr> 41 <tr> 42<TD width="150"><CODE> GX_WARN_MEDIUM</font> </TD> 43<TD width="350">Checks and reports only on critical and medium-level warnings.</TD> 44 </tr> 45 <tr> 46 <TD height="25" width="150"> 47<CODE> GX_WARN_ALL</font></TD> 48<TD height="25" width="350">Checks and reports on all warnings.</TD> 49 </tr> 50 51 </TABLE> 52 </TD> 53 </TR> 54 </TBODY> 55</TABLE> 56</DIV> 57<H2>Return Values</H2> 58<P>None.</P> 59<H2>Description</H2> 60<P>This function is used with the <em>debug</em> <code>GX</code> library to control the types of warnings generated at runtime. To disable all <a href="GX_Runtime_Warnings.html" target="_self">runtime warnings</a>, set <code><em><strong>level</strong></em></code> to <code>GX_WARN_NONE</code>. Setting <code><em><strong>level</strong></em></code> to <code>GX_WARN_SEVERE</code> will print only fatal errors. Setting <em><strong><code>level</code></strong></em> to <code>GX_WARN_MEDIUM</code> will print out moderate warnings and all fatal errors. Setting <code><em><strong>level</strong></em></code> to <code>GX_WARN_ALL</code> will print out all the advice that the system has to offer.</P> 61<P>Severe warnings represent existence of illegal or unsupported GX setting in your code. Therefore, it is recommended that you eliminate all fatal errors. Regarding other levels of warning, you don't always have to take notice because some of them are generated just for reference, though they might still provide useful information to debug your code.</P> 62<P>By default, <a href="GXInit.html"><code>GXInit</code></a> will set <font face="Courier New"><em><strong>level</strong></em></font> to <code>GX_WARN_NONE</code> in the debug version of the library.</P> 63 64 65<H2>See Also</H2> 66<P><A href="GXSetVerifyCallback.html"><CODE>GXSetVerifyCallback</CODE></A> </P> 67<P><a href="GX_Runtime_Warnings.html"><CODE>GXSetVerifyLevel</CODE> Runtime Warning</a></P> 68<H2>Revision History</H2> 69<P>03/01/2006 Initial version.</P> 70</BODY> 71</HTML>