|Microsoft DirectX 9.0|
The DVDAdm.GetParentalLevel method retrieves the parental level that was last saved to the registry.
[ iParentalLevel = ] DVD.DVDAdm.GetParentalLevel();
Returns an Integer from 1 through 8 indicating the default parental level.
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.