SaveParentalCountry Method
Microsoft DirectShow 9.0 |
SaveParentalCountry 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.SaveParentalCountry method saves the application's new parental country/region to the registry.
Syntax
DVD.DVDAdm.SaveParentalCountry( iCountry, sUserName, sPassword);
Parameters
iCountry
Specifies the parental country/region as an Integer.
sUserName
Specifies the user name as a String. (Currently ignored.)
sPassword
Specifies the password as a String.
Return value
No return value.
Remarks
This method enables a user who knows the current password to save a new parental country/region 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 created, it will open with the new country/region. To change the parental country/region in the player, call SelectParentalCountry, which does not change the registry setting.
See Also