Microsoft DirectX 9.0 |
This topic applies to Windows XP Service Pack 1 only.
The NumberOfChapters property retrieves the number of chapters in the specified title.
Syntax
VidWebDVD.NumberOfChapters(
lTitle As Long
) As Long
Parameters
lTitle
Long specifying the title.
Return Values
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.
Example
' Returning the property.
lChapters = VidWebDVD.NumberOfChapters(lTitle)
See Also