Microsoft DirectX 9.0

MSVidWebDVD.SelectDefaultSubpictureLanguage Method

This topic applies to Windows XP Service Pack 1 only.

The SelectDefaultSubpictureLanguage method sets the current default subpicture language.

Syntax

VidWebDVD.SelectDefaultSubpictureLanguage(
  lang As Long,
  ext As DVDSPExt
)

Parameters

lang

Specifies the language as a Long value.

ext

Specifies the subpicture language extension as a Long value. See DVDSPExt Constants enumeration for possible values.

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.
E_INVALIDARG lang or ext are invalid.
VFW_E_DVD_INVALIDDOMAIN The DVD Navigator filter is not in the Stop domain.

Remarks

The subpicture language extension provides further information about the subpicture.

Example

oVidWebDVD.SelectDefaultSubpictureLanguage(lang, ext)

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 DVD_DOMAIN_Stop

See Also