Поделиться через


MSVidWebDVDAdm.DefaultSubpictureLCID Property

 
Microsoft DirectShow 9.0

MSVidWebDVDAdm.DefaultSubpictureLCID Property

This topic applies to Windows XP Service Pack 1 or later.

The DefaultSubpictureLCID property sets or retrieves the registry setting for the user-specified default LCID for the subpicture stream.

Syntax

  VidWebDVDAdm
  .DefaultSubpictureLCID As Long

Parameters

This property takes no parameters.

Return Values

Returns a Long value representing the user-specified default subpicture LCID as stored in the registry settings for the DVD application. This value is not necessarily the same as the default subpicture stream as authored on the DVD. For the range of valid LCIDs, see the Win32 documentation in the Platform SDK.

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 Invalid LCID entered.

Remarks

This property is read/write with no default value. If no default subpicture LCID is specified, the MSVidWebDVDAdm object will play the subpicture stream that is marked as the default stream on the disc.

Example

' Setting the property.
oVidWebDVDAdm.DefaultSubpictureLCID = lDefSubpicture
' Returning the property.
lDefSubpicture = oVidWebDVDAdm.DefaultSubpictureLCID

Requirements

Reference: Add a reference to MS Video Control 1.0 Type Library and Microsoft Tuner 1.0 Type Library.

Library: Quartz.dll.

See Also