Share via


MSVidWebDVD.CurrentTitle Property

 
Microsoft DirectShow 9.0

MSVidWebDVD.CurrentTitle Property

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

The CurrentTitle property retrieves the number of the title currently playing.

Syntax

  VidWebDVD
  .CurrentTitle As Long

Parameters

This property takes no parameters.

Return Values

Returns a Long value from 1 through 99 indicating the number of the title currently playing.

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 with no default value. Be sure you are in a valid domain before calling this method.

Example

' Returning the property.
lCurrTitle = VidWebDVD.CurrentTitle

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