SaveParentalCountry Method

[The feature associated with this page, DirectShow, is a legacy feature. It has been superseded by MediaPlayer, IMFMediaEngine, and Audio/Video Capture in Media Foundation. Those features have been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use MediaPlayer, IMFMediaEngine and Audio/Video Capture in Media Foundation instead of DirectShow, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]

Note

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.

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.

Requirements

Requirement Value
Header
Segment.h

See also

SaveParentalLevel

MSDVDAdm Object