Microsoft DirectX 9.0

MSVidWebDVDAdm.GetParentalLevel Method

This topic applies to Windows XP Service Pack 1 only.

The GetParentalLevel method retrieves the parental level that was last saved to the registry.

Syntax

VidWebDVDAdm.GetParentalLevel As Long

Parameters

This method takes no parameters.

Return Values

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.

Example

lDefParentalLevel = oVidWebDVDAdm.GetParentalLevel

See Also