This component is available for use in the Microsoft Windows 2000, Windows XP, and Windows Server 2003 operating systems. It may be altered or unavailable in subsequent versions.
GetTitleParentalLevels method retrieves the parental management levels for the specified title.
[ iLevels = ] MSWebDVD.GetTitleParentalLevels(iTitle)
Specifies the title as an Integer.
Returns an integer value whose individual bits indicate which parental management levels (PML) are set in the specified title.
A title may have chapters or even short segments that have a PML different from the overall PML for the title. Use this method to determine all the PMLs that will be encountered when playing a specified title. The returned integer is a set of bit flags that are defined as shown in the table below. Perform a bitwise AND operation on iLevels and each possible value. If the operation returns true, it means that PML will be encountered at some point in this title.
|0x100||DVD Parental Level 1|
|0x200||DVD Parental Level 2|
|0x400||DVD Parental Level 3|
|0x800||DVD Parental Level 4|
|0x1000||DVD Parental Level 5|
|0x2000||DVD Parental Level 6|
|0x4000||DVD Parental Level 7|
|0x8000||DVD Parental Level 8|