Microsoft DirectX 9.0

MSVidWebDVD.Eject Method

This topic applies to Windows XP Service Pack 1 only.

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

See Also