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>DVDCompareDiskID</title>
10</head>
11
12<body>
13
14<h1>DVDCompareDiskID</h1>
15
16<h2>Syntax</h2>
17<dl><dd><pre class="construction">
18#include &lt;revolution/dvd.h&gt;
19
20BOOL DVDCompareDiskID(const DVDDiskID* id1, const DVDDiskID* id2);
21</pre></dd></dl>
22
23<h2>Arguments</h2>
24<TABLE class="arguments" border="1" >
25  <tr>
26<TH>id1</TH>
27<TD>Pointer to the disc ID.</TD>
28  </tr>
29  <tr>
30<TH>id2</TH>
31<TD>Pointer to the other disc ID.</TD>
32  </tr>
33  </TABLE>
34
35<h2>Return Values</h2>
36<P><CODE>TRUE</CODE> if the two IDs match and <CODE>FALSE</CODE> if they do not.</P>
37
38<h2>Description</h2>
39<P>This utility function compares disc IDs. It returns <CODE>TRUE</CODE> if <SPAN class="argument">id1</SPAN> and <SPAN class="argument">id2</SPAN> are the same. Otherwise, it returns <CODE>FALSE</CODE>.</P>
40<P>
41Wildcards can be specified in the disc number and/or game version of the disc ID being specified. If <CODE>0xff</CODE> is specified for the disc number and game version, a disc having any disc number and game version can be identified as having the same ID.
42</P>
43<h2>See Also</h2>
44<P>
45<a href="DVDGenerateDiskID.html">DVDGenerateDiskID</a>
46</p>
47
48<H2>Revision History</H2>
49<P>
502009/02/03 Added a description of wildcards.<br />2006/03/01 Initial version.
51</P>
52
53<hr><p>CONFIDENTIAL</p></body>
54</html>