1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 2<html> 3 4<head> 5<META http-equiv="Content-Type" content="text/html; charset=windows-1252"> 6<META name="GENERATOR" content="IBM WebSphere Studio Homepage Builder Version 6.5.0.0 for Windows"> 7<META http-equiv="Content-Style-Type" content="text/css"> 8<LINK rel="stylesheet" type="text/css" href="../CSS/revolution.css"> 9<title>DVDSetAutoFatalMessaging</title> 10</head> 11 12<body> 13 14<h1>DVDSetAutoFatalMessaging</h1> 15 16<h2>Syntax</h2> 17<dl><dd><pre class="construction"> 18#include <revolution/dvd.h> 19 20BOOL DVDSetAutoFatalMessaging(BOOL enable); 21</pre></dd></dl> 22 23<h2>Arguments</h2> 24<TABLE class="arguments" border="1" > 25 <tr> 26<TH><STRONG><EM><CODE>enable</CODE></EM></STRONG></TH> 27<TD><CODE>TRUE</CODE> (default) enables auto fatal message mode. <CODE>FALSE</CODE> disables this mode.</TD> 28 </tr> 29</TABLE> 30 31<h2>Return Values</h2> 32<P>Returns <CODE>TRUE</CODE> if auto fatal message mode is enabled and <CODE>FALSE</CODE> if it is disabled.</P> 33 34<h2>Description</h2> 35<P>Changes the auto fatal message mode.</P> 36<P>If this mode is on, the optical disc device driver will handle fatal errors. If a fatal error occurs, an appropriate error message is displayed on the TV screen and the system immediately hangs by calling the <CODE>OSFatal</CODE> function. During this time, no program code will execute. In other words, developers do not need to worry about fatal error messages.</P> 37<P>Depending on the language setting, the appropriate error message is selected from one of seven languages: English, Japanese, German, French, Spanish, Italian, or Dutch.</P> 38<P>Unlike the Dolphin SDK, the auto fatal message mode is enabled by default. <CODE>DVDSetAutoFatalMessaging(FALSE)</CODE> must be called at the beginning of an application, when a developer uses a self-implemented fatal error message.</P> 39<P>The game program is still responsible for displaying messages for other errors (for example, no disc).</P> 40 41<h2>See Also</h2> 42<p class="reference"> 43<a href="../os/Error/OSFatal.html">OSFatal</a> 44</p> 45 46<H2>Revision History</H2> 47<P> 482006/06/07 Changed default settings and changed <B>Description</B>.<BR>2006/03/01 Initial version.<BR> 49</P> 50 51<hr><p>CONFIDENTIAL</p></body> 52</html>