Open/Close CD-ROM: Difference between revisions

From NSIS Wiki
Jump to navigationJump to search
No edit summary
(Undo revision 8773 by Instructor (Talk))
Line 1: Line 1:
{{PageAuthor|Instructor}}


== Open CD-ROM ==
<highlight-nsis>
System::Call 'winmm::mciSendString(t "set CDAudio door closed",,,)'
</highlight-nsis>
== Close CD-ROM ==
<highlight-nsis>
System::Call 'winmm::mciSendString(t "set CDAudio door open",,,)'
</highlight-nsis>
[[Category:System Plugin Examples]]

Revision as of 02:59, 26 January 2010

Author: Instructor (talk, contrib)


Open CD-ROM

System::Call 'winmm::mciSendString(t "set CDAudio door closed",,,)'

Close CD-ROM

System::Call 'winmm::mciSendString(t "set CDAudio door open",,,)'