using System.Runtime.InteropServices;
[DllImport("winmm.dll")]
static extern Int32 mciSendString(string Befehl, string buffer, int bufferSize, IntPtr hwndCallback);
private void SchubladeÖffnen()
{
mciSendString("set CDAudio door open", null, 127, (IntPtr)0);
}
private void SchubladeSchließen()
{
mciSendString("set CDAudio door closed", null, 127, (IntPtr)0);
}