Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Note This topic applies to Windows XP Service Pack 1 or later.
The NumberOfChapters property retrieves the number of chapters in the specified title.
VidWebDVD.NumberOfChapters(
lTitle As Long
) As Long
Parameters
- lTitle
Long specifying the title.
Return Value
Returns an integer value from 1 through 999 indicating the number of chapters.
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. |
E_NO_DVD_VOLUME | No DVD in the machine. |
E_INVALIDARG | lTitle is not a valid title number. |
VFW_E_DVD_OPERATION_INHIBITED | Operation prevented by UOP command. |
Remarks
This property is read-only.
Examples
' Returning the property.
lChapters = VidWebDVD.NumberOfChapters(lTitle)
Requirements
Type Library |
MS Video Control 1.0 Type Library and Microsoft Tuner 1.0 Type Library |
DLL |
Quartz.dll |
See Also
Send comments about this topic to Microsoft
Build date: 7/6/2010