Microsoft DirectX 9.0

GetParentalLevel Method

The DVDAdm.GetParentalLevel method retrieves the parental level that was last saved to the registry.


[ iParentalLevel = ] DVD.DVDAdm.GetParentalLevel();

Return Values

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.

See Also