OverviewExamples
Ejects a CD or DVD-ROM drive when given a valid drive letter.
(string) The drive to eject. The first character of the string will be the drive letter used. Therefore "E", "E:"," E:\" and "E:\Myfile.txt" are all valid values if you want to eject the E: drive.
Nothing. You can use Application.GetLastError to determine whether this action failed, and why.
See also: Related Actions