Поделиться через


MSVidWebDVD.CurrentAngle Property

 
Microsoft DirectShow 9.0

MSVidWebDVD.CurrentAngle Property

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

The CurrentAngle property sets or retrieves the current angle in an angle block.

Syntax

  VidWebDVD
  .CurrentAngle As Long

Parameters

This property takes no parameters.

Return Values

Returns a Long value representing the angle. Must be a value from 1 through 9.

Error Codes

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

Value Description
VFW_E_DVD_INVALIDDOMAIN You attempted to take the value in a domain that does not support this property.
VFW_E_DVD_OPERATION_INHIBITED This user operation is not allowed by the DVD content at this time.
E_UNEXPECTED Unspecified error.

Valid Domains

The following table shows the Annex J command name to which this method name corresponds, and the domains in which this method is valid.

Annex J Command Name Valid Domains
Angle_Change DVD_DOMAIN_VideoManagerMenu
DVD_DOMAIN_VideoTitleSetMenu
DVD_DOMAIN_Title
DVD_DOMAIN_Stop

Remarks

This property will be initialized to 1 before the First Play domain.

Example

' Setting the property.
VidWebDVD.CurrentAngle = lAngle
' Returning the property.
lAngle = VidWebDVD.CurrentAngle

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