Microsoft DirectX 9.0

MSVidWebDVD.PlayerParentalCountry Property

This topic applies to Windows XP Service Pack 1 only.

The PlayerParentalCountry property retrieves the current country/region as set in the MSVidWebDVD object.

Syntax

VidWebDVD.PlayerParentalCountry As Long

Parameters

This property takes no parameters.

Return Values

Returns a Long value specifying the country/region code.

Error Codes

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

Value Description
E_UNEXPECTED Unspecified error.
VFW_E_DVD_INVALIDDOMAIN You attempted to take the value in a domain that does not support this property.

Remarks

This property is read-only. Default value is -1.

Example

' Returning the property.
lParentCountry = VidWebDVD.PlayerParentalCountry

See Also