fb:porticula NoPaste
Laufwerk öffnen
Uploader: | max06 |
Datum/Zeit: | 28.12.2007 12:30:25 |
Declare Function mciSendString Lib "winmm.dll" Alias "mciSendStringA" (ByVal lpstrCommand As ZString ptr, ByVal _
lpstrReturnString As ZString ptr, ByVal uReturnLength As Long, _
ByVal hwndCallback As Long) As Long
Dim returnstring As string ptr
'CD-Laufwerk öffnen
Sub OpenCD()
mciSendString("set CDAudio door open", _
"", 127, 0)
End Sub
'CD-Laufwerk schließen
Sub CloseCD()
mciSendString("set CDAudio door closed", _
"", 127, 0)
End Sub
OpenCD()
Sleep