MSVidWebDVD.CurrentDomain Property

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

The CurrentDomain property retrieves the DVD domain of the MSVidWebDVD object.

VidWebDVD.CurrentDomain As Long

Parameters

This property takes no parameters.

Return Value

Returns a Long value from 1 to 5 representing the current domain:

Value Domain
1 First play
2 Video Manager Menu
3 Video Title Set Menu
4 Title
5 Stop

 

Error Codes

If the property fails, Err.Number may be set to one of the following values.

Value Description
E_UNEXPECTED Unspecified error

 

Remarks

This property is read-only. Call this method to ensure that you are in a valid domain for the method you are about to call. For example, before calling PlayTitle, check the CurrentDomain property to make sure that you are not in the Stop or First Play domain.

Examples

' Returning the property.
lCurrDomain = VidWebDVD.CurrentDomain

Requirements

Type Library

MS Video Control 1.0 Type Library and Microsoft Tuner 1.0 Type Library

DLL

Quartz.dll

See Also

MSVidWebDVD Object

 

 

Send comments about this topic to Microsoft

Build date: 7/6/2010