Releases the loaded medium from the open multimedia device.
Eject is called when the Eject button on the media player control is clicked at runtime. It ejects the loaded medium from the open multimedia device.
Upon completion, Eject stores a numerical error code in the Error property, and the corresponding error message in the ErrorMessage property.
The Wait property determines whether control is returned to the application before the Eject method has been completed. The Notify property determines whether Eject generates an OnNotify event.