DVDCompareDiskID

Syntax

#include <revolution/dvd.h>

BOOL DVDCompareDiskID(const DVDDiskID* id1, const DVDDiskID* id2);

Arguments

id1 Pointer to the disc ID.
id2 Pointer to the other disc ID.

Return Values

TRUE if the two IDs match and FALSE if they do not.

Description

This utility function compares disc IDs. It returns TRUE if id1 and id2 are the same. Otherwise, it returns FALSE.

Wildcards can be specified in the disc number and/or game version of the disc ID being specified. If 0xff 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.

See Also

DVDGenerateDiskID

Revision History

2009/02/03 Added a description of wildcards.
2006/03/01 Initial version.


CONFIDENTIAL