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 17<h2>C Specification</h2> 18 19<dl> 20<dd><pre><code>#include <revolution/dvd.h></code></pre> 21 </dd> 22<dd><pre><CODE>BOOL DVDSetAutoFatalMessaging(BOOL enable); 23</CODE></pre> 24 </dd> 25</dl> 26<h2>Arguments</h2> 27<TABLE border="1" cellpadding="3" cellspacing="0.1"> 28 <tr> 29<TD width="120" bgcolor="#ffffe8"><code><em><strong>enable</strong></em></code></TD> 30<TD width="520">TRUE (default) enables auto fatal message mode. <CODE>FALSE</CODE> disables this mode. </TD> 31 </tr> 32</TABLE> 33<h2>Return Values</h2> 34<P>Returns <CODE>TRUE</CODE> if auto fatal message mode was previously enabled, and <CODE>FALSE</CODE> if it was disabled. </P> 35<h2>Description</h2> 36<P>Changes auto fatal message mode.</P> 37<P>If this mode is on, the optical disc device driver handles fatal errors. If a fatal error occurs, the device driver displays the appropriate error message on the TV screen and hangs by calling the <code><a href="../os/Error/OSFatal.html">OSFatal</a></code> function. During this time, no program code will execute. In other words, developers don't need to care about fatal error messages.</P> 38<P>Depending on the language setting, the appropriate error message is selected from one of the seven languages (English, Japanese, German, French, Spanish, Italian, or Dutch). </P> 39<P>Note: Unlike the Dolphin SDK, auto fatal message mode is enabled by default. DVDSetAutoFatalMessaging (FALSE) must be called at the start of applications whenever a developer implements and uses his or her own FATAL error message. </P> 40<P>Note that the game program is still responsible for displaying messages for other errors (for example, no disc).</P> 41<h2>See Also</h2> 42 43<p><code><a href="../os/Error/OSFatal.html">OSFatal</a></code></p> 44<H2>Revision History</H2> 45<P>2006/03/01 Initial version<BR> 2006/06/07 Changes default settings and changed the description</P> 46<hr> 47<P>CONFIDENTIAL</p> 48</BODY> 49</HTML>