Microsoft DirectX 9.0

MSVidWebDVD.AcceptParentalLevelChange Method

This topic applies to Windows XP Service Pack 1 only.

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


  bAccept As Boolean,
  strUserName As String,
  strPassword As String



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


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


Specifies the user's password.

Return Values

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.


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.


oVidWebDVD.AcceptParentalLevelChange(True, "", strPassword)

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

See Also