Microsoft DirectX 9.0

MSVidWebDVD.PlayAtTime Method

This topic applies to Windows XP Service Pack 1 only.

The PlayAtTime method starts playback in the current title at the specified time.

Syntax

VidWebDVD.PlayAtTime(
  strTime As String
)

Parameters

strTime

Specifies the time at which to start playing as a String. The string must be in the format "hh:mm:ss:ff" (specifying hours, minutes, seconds, frames).

Return Values

This method has no return values.

Error Codes

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

Value Description
E_UNEXPECTED Unspecified error.
E_INVALIDARG Invalid time.
VFW_E_DVD_OPERATION_INHIBITED UOP control prohibits the operation.
VFW_E_DVD_INVALIDDOMAIN Invalid domain for this operation.

Example

oVidWebDVD.PlayAtTime(strTime)

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
Time_Search DVD_DOMAIN_Title

See Also