MSVidWebDVDAdm.GetParentalLevel Method
Note This topic applies to Windows XP Service Pack 1 or later.
The GetParentalLevel method retrieves the parental level that was last saved to the registry.
VidWebDVDAdm.GetParentalLevel As Long
Parameters
This method takes no parameters.
Return Value
This method returns a Long value from 1 through 8, indicating the default parental level saved in the registry.
Remarks
The parental level this method retrieves is not necessarily the same level currently stored in the MSVidWebDVD control; to get the level currently stored in the control, call the MSVidWebDVD.PlayerParentalLevel method. A value of -1 indicates that parental management is disabled. See PlayerParentalLevel for more information on parental levels.
Examples
lDefParentalLevel = oVidWebDVDAdm.GetParentalLevel
Requirements
Type Library | Use MS Video Control 1.0 Type Library and Microsoft Tuner 1.0 Type Library. |
DLL | Requires Quartz.dll. |
See Also
Enforcing Parental Management Levels
GetParentalCountry
MSVidWebDVDAdm Object
SaveParentalCountry
SaveParentalLevel
Send comments about this topic to Microsoft
Build date: 12/4/2008