|Microsoft DirectX 9.0|
The DVDAdm.SaveParentalLevel method saves a new default parental level to the registry.
DVD.DVDAdm.SaveParentalLevel( iLevel, sUserName, sPassword);
Specifies the parental level as anInteger value from 1 through 8.
Specifies the user name as a String. (Currently ignored.)
Specifies the password as a String.
No return value.
This method enables a user who knows the current password to save a new parental level setting to the registry. As with all the methods of MSDVDAdm, this method does not affect the current level in the player; it changes only the registry setting, so that the next time the MSWebDVD object is started, it will open with the new level. Specify -1 to disable parental management. To change the parental level in the player, call SelectParentalLevel, which does not change the registry setting.