Microsoft DirectX 9.0

MSVidWebDVD.CurrentVolume Property

This topic applies to Windows XP Service Pack 1 only.

The CurrentVolume property retrieves the volume number for the current root directory.


VidWebDVD.CurrentVolume As Long


This property takes no parameters.

Return Values

Returns a Long value representing the current DVD volume. If a disc is part of a multi-volume set, then the value should be greater than zero.

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.


This property is read-only with no default value.


' Returning the property.
lCurrVolume = VidWebDVD.CurrentVolume

See Also