MSVidWebDVDAdm.GetParentalLevel Method

 
Microsoft DirectShow 9.0

MSVidWebDVDAdm.GetParentalLevel Method

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.

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

Requirements

Reference: Add a reference to MS Video Control 1.0 Type Library and Microsoft Tuner 1.0 Type Library.

Library: Quartz.dll.

See Also