MSVidWebDVD.SelectParentalCountry Method
Note This topic applies to Windows XP Service Pack 1 or later.
The SelectParentalCountry method sets the specified parental country/region for subsequent playback.
VidWebDVD.SelectParentalCountry(
lCountry As Long,
strUserName As String,
strPassword As String
)
Parameters
lCountry
Long specifying the country/region.strUserName
String specifying the current user. This parameter is currently ignored, so use an empty string ("").strPassword
String specifying the application 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. |
E_INVALIDARG | Country/region value is invalid. |
VFW_E_DVD_INVALIDDOMAIN | Invalid domain for this method. |
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 |
---|---|
Parental_Country_Select | DVD_DOMAIN_Stop |
Remarks
The parental country/region determines how the parental levels are interpreted.
Examples
oVidWebDVD.SelectParentalCountry(lCountry, "", strPassword)
Requirements
Type Library | Use MS Video Control 1.0 Type Library and Microsoft Tuner 1.0 Type Library. |
DLL | Requires Quartz.dll. |
See Also
AcceptParentalLevelChange
Enforcing Parental Management Levels
MSVidWebDVD Object
NotifyParentalLevelChange
Parental Management
PlayerParentalCountry
PlayerParentalLevel
SelectParentalLevel
TitleParentalLevels
Send comments about this topic to Microsoft
Build date: 12/4/2008