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>DVDSetAutoInvalidation</title> 10</head> 11 12<body> 13 14<h1>DVDSetAutoInvalidation</h1> 15 16 17<h2>C Specification</h2> 18 19<dl> 20 <dd><pre><code>#include <revolution/dvd.h></CODE></pre></dd> 21<dd><pre><CODE>BOOL DVDSetAutoInvalidation(BOOL autoInval); 22</CODE></pre></dd> 23</dl> 24<h2>Arguments</h2> 25<TABLE border="1" cellpadding="3" cellspacing="0.1"> 26 <tr> 27<TD width="120" bgcolor="#ffffe8"><em><strong><code>autoInval</code></strong></em></TD> 28 <TD width="520"><CODE>TRUE</CODE> to set invalidation mode to AUTO. <CODE>FALSE</CODE> to set to MANUAL,</TD> 29 </tr> 30</TABLE> 31<h2>Return Values</h2> 32 33<P><CODE>TRUE</CODE> if invalidation mode is AUTO and <CODE>FALSE</CODE> if invalidation mode is MANUAL. </P> 34<H2>Description</H2> 35<P>Changes the invalidation mode. If the invalidation mode is set to AUTO, the <a href="DVDRead.html"><code>DVDRead</code></a> and <a href="DVDReadAsync.html"><code>DVDReadAsync</code></a> functions invalidate the data cache before issuing the read command to the drive. Programmers don't need to call the <a href="../os/Cache/DCInvalidateRange.html"><code>DCInvalidateRange</code></a>function in the program code. If Invalidation mode is set to MANUAL, the <a href="DVDRead.html"><code>DVDRead</code></a> and <a href="DVDReadAsync.html"><code>DVDReadAsync</code></a> functions don't invalidate the data cache. If necessary, programmers must call the <code><a href="../os/Cache/DCInvalidateRange.html">DCInvalidateRange()</a></code> function.</P> 36<P>By default, the invalidation mode is set to AUTO.</P> 37<h2>See Also</h2> 38 39<p><code><a href="DVDRead.html">DVDRead</a><BR> <a href="DVDReadAsync.html">DVDReadAsync</a></code></p> 40<H2>Revision History</H2> 41<P>03/01/2006 Initial version.</P> 42</body> 43</html> 44