GetParentalLevel Method
Microsoft DirectShow 9.0 |
GetParentalLevel Method
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.
The DVDAdm.GetParentalLevel method retrieves the parental level that was last saved to the registry.
Syntax
[ iParentalLevel = ] DVD.DVDAdm.GetParentalLevel();
Return Values
Returns an Integer from 1 through 8 indicating the default parental level.
Remarks
The parental level this method retrieves is not necessarily the same level currently stored in the MSWebDVD control; to get the level currently stored in the control, call the GetPlayerParentalLevel method. A value of -1 indicates that parental management is disabled.
See Also