|Microsoft DirectX 9.0|
This topic applies to Windows XP Service Pack 1 only.
The AcceptParentalLevelChange method accepts or rejects a newly posted temporary parental management level.
VidWebDVD.AcceptParentalLevelChange( 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.
This method does not return a value.
If the property fails, Err.Number may be set to one of the following values.
|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.|
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)
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|