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 13<H2>Syntax</H2> 14<dl><dd><pre class="construction"> 15#include <revolution/gx.h> 16 17void GXSetVerifyLevel( <A href="../Enumerated_Types/GXWarningLevel.html">GXWarningLevel</A> level ); 18</pre></dd></dl> 19 20<H2>Arguments</H2> 21<TABLE class="arguments" border="1" > 22 <TBODY> 23 <TR> 24<TH>level</TH> 25<TD>Specifies level of severity of <A href="GX_Runtime_Warnings.html" target="_self">runtime warnings</A>. Accepted values are:<BR> 26 <TABLE class="arguments" border="1" > 27 <tr> 28<TD bgcolor="#C0C0C0">Name</TD> 29<TD bgcolor="#C0C0C0">warning mode</TD> 30 </tr> 31 <tr> 32<TH>GX_WARN_NONE</TH> 33<TD>Disables runtime warnings.</TD> 34 </tr> 35 <tr> 36<TH>GX_WARN_SEVERE</TH> 37<TD>Checks and reports only on critical warnings.</TD> 38 </tr> 39 <tr> 40<TH>GX_WARN_MEDIUM</TH> 41<TD>Checks and reports only on critical and medium-level warnings.</TD> 42 </tr> 43 <tr> 44<TH>GX_WARN_ALL</TH> 45<TD>Checks and reports on all warnings.</TD> 46 </tr> 47 </TABLE> 48 </TD> 49 </TR> 50 </TBODY> 51</TABLE> 52 53<H2>Return Values</H2> 54<P>None.</P> 55 56<H2>Description</H2> 57<P>This function is used with the Debug GX library to control the types of warnings generated at runtime. To disable all <A href="GX_Runtime_Warnings.html">runtime warnings</A>, set <SPAN class="argument">level</SPAN> to <CODE>GX_WARN_NONE</CODE>. Setting <SPAN class="argument">level</SPAN> to <CODE>GX_WARN_SEVERE</CODE> will print only fatal errors. Setting <SPAN class="argument">level</SPAN> to <CODE>GX_WARN_MEDIUM</CODE> will print out moderate warnings and all fatal errors. Setting <SPAN class="argument">level</SPAN> to <CODE>GX_WARN_ALL</CODE> will print out all the warnings that the system must provide.</P> 58<P>Severe warnings indicate the existence of illegal or unsupported GX settings in your code. It is recommended that you eliminate all settings causing these warnings. 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> 59<P>By default, <A href="GXInit.html"><CODE>GXInit</CODE></A> will set <SPAN class="argument">level</SPAN> to <CODE>GX_WARN_NONE</CODE> in the debug version of the library.</P> 60 61<H2>See Also</H2> 62<P class="reference"> 63<A href="GXSetVerifyCallback.html">GXSetVerifyCallback</A>, <a href="GX_Runtime_Warnings.html">Runtime Warnings</a> 64</P> 65 66<H2>Revision History</H2> 67<P> 682006/03/01 Initial version.<br> 69</P> 70 71<hr><p>CONFIDENTIAL</p></body> 72</HTML>