|
-
Feb 19th, 2001, 03:20 PM
#1
Thread Starter
Addicted Member
How to eject the cd rom using API.???
B.S Computer Science
M.S Computer Engineering
-
Feb 19th, 2001, 04:28 PM
#2
Frenzied Member
Code:
mciSendString "set cdaudio door open", vbNullString, 0, 0
mciSendString "set cdaudio door closed", vbNullString, 0, 0
-
Feb 19th, 2001, 05:30 PM
#3
You are missing the function declaration.
Code:
Private Declare Function mciSendString Lib "winmm.dll" Alias "mciSendStringA" (ByVal lpstrCommand As String, ByVal lpstrReturnString As String, ByVal uReturnLength As Long, ByVal hwndCallback As Long) As Long
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|