|Microsoft DirectX 9.0|
This topic applies to Windows XP Service Pack 1 only.
The SelectParentalLevel method sets the parental level for subsequent playback.
VidWebDVD.SelectParentalLevel( lParentalLevel As Long, strUserName As String, strPassword As String )
Specifies the parental management level as a Long. To enable parental management, lParentalLevel must range from 1 through 8. To disable parental management, set lParentalLevel to -1.
Specifies the current user as a String. This method is currently ignored, so use an empty string ("")
Specifies the password currently stored in the registry as a String.
This method does not return a value.
If the property fails, Err.Number may be set to one of the following values.
|E_INVALIDARG||Country/region value is invalid.|
|VFW_E_DVD_INVALIDDOMAIN||Invalid domain for this method.|
This method sets the access level in the MSVidWebDVD 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 is disabled by default.
Note Player parental levels can only be set in the Stop domain.
oVidWebDVD.SelectParentalLevel(lParentalLevel, "", strPassword)
The following table shows the Annex J command name to which this method name corresponds, and the domains in which this method is valid.
|Annex J Command Name||Valid Domains|