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<h2>Syntax</h2>
17<dl><dd><pre class="construction">
18#include &lt;revolution/dvd.h&gt;
19
20BOOL DVDSetAutoInvalidation(BOOL autoInval);
21</pre></dd></dl>
22
23<h2>Arguments</h2>
24<TABLE class="arguments" border="1" >
25  <tr>
26<TH>autoInval</TH>
27<TD><CODE>TRUE</CODE> sets invalidation mode to AUTO. <CODE>FALSE</CODE> sets it to MANUAL.</TD>
28    </tr>
29</TABLE>
30
31<h2>Return Values</h2>
32<P>If the invalidation mode is AUTO, returns <CODE>TRUE</CODE>; if MANUAL, returns <CODE>FALSE</CODE>.</P>
33
34<H2>Description</H2>
35<P>Changes the invalidation mode. If invalidation mode is set to AUTO (the default), 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 read commands to the drive. Programmers do not need to call the <A href="../os/Cache/DCInvalidateRange.html"><CODE>DCInvalidateRange</CODE></A> function in the application 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 do not invalidate the data cache. Programmers must call the <CODE><A href="../os/Cache/DCInvalidateRange.html">DCInvalidateRange</A></CODE> function as needed.</P>
36<P>By default, the invalidation mode is set to AUTO.</P>
37
38<h2>See Also</h2>
39<p class="reference">
40<a href="DVDRead.html">DVDRead</a>,
41<a href="DVDReadAsync.html">DVDReadAsync</a>
42</p>
43
44<H2>Revision History</H2>
45<P>
462006/03/01 Initial version.<BR>
47</P>
48
49<hr><p>CONFIDENTIAL</p></body>
50</html>
51