Description: with Delphi TMediaPlayer the right components are more familiar with, It is a fairly remarkable versatility of the multimedia components, but the fly in the ointment is : If CDROM drive on the open Cangmen not shut down automatically. But unfortunately, TMediaPlayer methods and properties not solved the problem, Therefore, we have to seek help from the Windows API, is the use of specific MMSystem.pas documents, the other one thing to consider is : We can separate calling Windows API function, But TMediaPlayer done some internal processing, Therefore, we would not have to worry about whether we use the component. Therefore, the cases used TMediaPlayer.
File list (Check if you may need any files):