Share via


MSVidWebDVD.AcceptParentalLevelChange Method

Note  This topic applies to Windows XP Service Pack 1 or later.

The AcceptParentalLevelChange method accepts or rejects a newly posted temporary parental management level.

VidWebDVD.AcceptParentalLevelChange(
   bAccept As Boolean,
   strUserName As String,
   strPassword As String
)

Parameters

  • bAccept
    Boolean value indicating whether or not to accept newly posted level.

  • strUserName
    Specifies a user name. This parameter is currently ignored, so use an empty string ("").

  • strPassword
    Specifies the user's password.

Return Value

This method does not return a value.

Error Codes

If the property fails, Err.Number may be set to one of the following values.

Value Description
E_UNEXPECTED Unspecified error; possibly the graph has not been built.
VFW_E_DVD_INVALIDDOMAIN The DVD Navigator filter is not in the title domain.
E_ACCESSDENIED Incorrect password.

 

Valid Domains

The following table shows the Annex J command name to which this method name corresponds, and the domains in which this method is valid.

Annex J Command Name Valid Domains
None All

 

Remarks

If the NotifyParentalLevelChange property has been set to True, the player will send an EC_DVD_PARENTAL_LEVEL_CHANGE message when it encounters a new parental management level more restrictive than the preceding one, and wait for AcceptParentalLevelChange to be called, to accept or reject continued playback or branch to another, possibly less restrictive, level. If NotifyParentalLevelChange has been set to False, the message will still be sent, but playback will not be stopped.

Examples

oVidWebDVD.AcceptParentalLevelChange(True, "", strPassword)

Requirements

Type Library

MS Video Control 1.0 Type Library and Microsoft Tuner 1.0 Type Library

DLL

Quartz.dll

See Also

DVD Event Notification Codes

Enforcing Parental Management Levels

MSVidWebDVD Object

NotifyParentalLevelChange

Parental Management

PlayerParentalCountry

PlayerParentalLevel

SelectParentalCountry

SelectParentalLevel

TitleParentalLevels

 

 

Send comments about this topic to Microsoft

Build date: 7/6/2010