Share via


MSVidWebDVD.Eject Method

 
Microsoft DirectShow 9.0

MSVidWebDVD.Eject Method

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

The Eject method ejects a disc from, or inserts a disc into, the DVD drive.

Syntax

  VidWebDVD
  .Eject

Parameters

This method takes no parameters.

Return Values

This method does not return a value.

Error Codes

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

Value Description
E_FAIL Unspecified error.
E_UNEXPECTED Unspecified error.

Remarks

On some DVD drives this method acts as a toggle, inserting and ejecting on alternate calls. This behavior is device-dependent.

Example

  oVidWebDVD
  .Eject

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