Поделиться через


NotifyParentalLevelChange Method

 
Microsoft DirectShow 9.0

NotifyParentalLevelChange Method

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 NotifyParentalLevelChange method enables or disables the event handling for temporary parental management level commands.

Syntax

  MSWebDVD
  .NotifyParentalLevelChange(
  bNotify
  );

Parameters

bNotify

Specifies a Boolean value indicating whether or not the application is notified when the MSWebDVD object encounters video segments with a rating more restrictive than the overall rating for the disc.

Return Values

No return value.

Remarks

Parental management notifications are disabled by default. This means that temporary parental commands from the disc are allowed but ignored and disc will play without interruption. Call this method during initialization of your application if you need to handle temporary parental management level commands from the disc. To disable parental management after it is enabled, call this method with an argument of false. For more details on parental management, see AcceptParentalLevelChange.

See Also