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 |
MS Video Control 1.0 Type Library and Microsoft Tuner 1.0 Type Library |
DLL |
Quartz.dll |
See Also
Enforcing Parental Management Levels
Send comments about this topic to Microsoft
Build date: 7/6/2010