SelectParentalLevel 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 SelectParentalLevel method sets the specified parental level for subsequent playback.

MSWebDVD.SelectParentalLevel(iLevel, sUserName, sPassword)

Parameters

iLevel

Specifies the parental management level as an Integer. To enable the parental management, the iLevel parameter must range from 1 through 8. To disable the parental management, set iLevel to -1.

sUserName

Specifies the current user as a String. (Currently ignored.)

sPassword

Specifies the password currently stored in the registry as a String.

Return Value

No return value.

Remarks

This method sets the access level in the MSWebDVD object, which determines what content the user can play back. Higher levels can play lower-level content but lower levels can't play higher-level content. The exact meaning of the eight DVD parental management levels varies depending on the country/region. In the United States and Canada, the levels are mapped to the Motion Picture Association of America (MPAA) rating categories. Parental management in the DVD Navigator is disabled by default.

See also

SelectParentalCountry

NotifyParentalLevelChange

GetTitleParentalLevels

GetPlayerParentalCountry

GetPlayerParentalLevel

AcceptParentalLevelChange