Share via


MSVidWebDVD.Eject Method

Note  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.

VidWebDVD.Eject

Parameters

This method takes no parameters.

Return Value

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.

Examples

oVidWebDVD.Eject

Requirements

Type Library Use MS Video Control 1.0 Type Library and Microsoft Tuner 1.0 Type Library.
DLL Requires Quartz.dll.

See Also

MSVidWebDVD Object

Send comments about this topic to Microsoft

Build date: 12/4/2008