NotifyParentalLevelChange Method

[The feature associated with this page, DirectShow, is a legacy feature. It has been superseded by MediaPlayer, IMFMediaEngine, and Audio/Video Capture in Media Foundation. Those features have been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use MediaPlayer, IMFMediaEngine and Audio/Video Capture in Media Foundation instead of DirectShow, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]

Note

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.

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 Value

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.

Requirements

Requirement Value
Header
Segment.h

See also

SelectParentalLevel

GetTitleParentalLevels

GetPlayerParentalCountry

GetPlayerParentalLevel

SelectParentalCountry